correctly restore panelVisibilityMode

This commit is contained in:
Marco Martin 2014-02-18 17:41:48 +01:00
parent 208e485577
commit ef2e4f46d4

View File

@ -472,6 +472,8 @@ void PanelView::restore()
setMaximumWidth(m_maxLength); setMaximumWidth(m_maxLength);
} }
setVisibilityMode((VisibilityMode)config().readEntry<int>("panelVisibility", (int)NormalPanel));
emit maximumLengthChanged(); emit maximumLengthChanged();
emit minimumLengthChanged(); emit minimumLengthChanged();
emit offsetChanged(); emit offsetChanged();