From e54fd2e1250f0a4b6bb958ea46e26b69c4438fa4 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Sun, 16 Nov 2014 12:18:07 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20328315=20-=20KMail=20doesn=C2=B4t?= =?UTF-8?q?=20save=20changes=20when=20the=20column=20order=20in=20the=20me?= =?UTF-8?q?ssagelist=20is=20changed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CCBUG: 328315 FIXED-IN: 4.14.4 --- messagelist/pane.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/messagelist/pane.cpp b/messagelist/pane.cpp index c88a9f849f..e011405332 100644 --- a/messagelist/pane.cpp +++ b/messagelist/pane.cpp @@ -1085,6 +1085,11 @@ void Pane::readConfig(bool restoreSession) } } else { createNewTab(); + KConfigGroup grp(MessageList::Core::Settings::self()->config(),QString::fromLatin1("MessageListTab%1").arg(0)); + if (grp.exists()) { + Widget *w = qobject_cast( widget( 0 ) ); + w->view()->header()->restoreState(grp.readEntry(QLatin1String("HeaderState"),QByteArray())); + } } } -- GitLab