Commit e54fd2e1 authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 328315 - KMail doesn´t save changes when the column order in the messagelist is changed

CCBUG: 328315
FIXED-IN: 4.14.4
parent 393a3d9d
...@@ -1085,6 +1085,11 @@ void Pane::readConfig(bool restoreSession) ...@@ -1085,6 +1085,11 @@ void Pane::readConfig(bool restoreSession)
} }
} else { } else {
createNewTab(); createNewTab();
KConfigGroup grp(MessageList::Core::Settings::self()->config(),QString::fromLatin1("MessageListTab%1").arg(0));
if (grp.exists()) {
Widget *w = qobject_cast<Widget *>( widget( 0 ) );
w->view()->header()->restoreState(grp.readEntry(QLatin1String("HeaderState"),QByteArray()));
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment