Commit 19243192 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't expand treewidget when we select it

parent 3b89fbc3
...@@ -65,7 +65,7 @@ option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branc ...@@ -65,7 +65,7 @@ option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branc
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widgets WebEngine WebEngineWidgets) find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widgets WebEngine WebEngineWidgets)
set(LIBGRAVATAR_VERSION "5.18.40") set(LIBGRAVATAR_VERSION "5.18.40")
set(MAILCOMMON_LIB_VERSION "5.18.40") set(MAILCOMMON_LIB_VERSION "5.18.41")
set(MESSAGELIB_LIB_VERSION "5.18.45") set(MESSAGELIB_LIB_VERSION "5.18.45")
set(LIBKLEO_LIB_VERSION "5.18.40") set(LIBKLEO_LIB_VERSION "5.18.40")
set(PIMCOMMON_LIB_VERSION "5.18.40") set(PIMCOMMON_LIB_VERSION "5.18.40")
......
...@@ -486,7 +486,7 @@ void KMMainWidget::slotFolderChanged(const Akonadi::Collection &collection) ...@@ -486,7 +486,7 @@ void KMMainWidget::slotFolderChanged(const Akonadi::Collection &collection)
void KMMainWidget::slotHistorySwitchFolder(const Akonadi::Collection &collection) void KMMainWidget::slotHistorySwitchFolder(const Akonadi::Collection &collection)
{ {
if (mFolderTreeWidget) { if (mFolderTreeWidget) {
mFolderTreeWidget->selectCollectionFolder(collection); mFolderTreeWidget->selectCollectionFolder(collection, false); // Don't expand treewidget
} }
// Store previous collection // Store previous collection
if (mGoToFirstUnreadMessageInSelectedFolder) { if (mGoToFirstUnreadMessageInSelectedFolder) {
......
Supports Markdown
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