Diffusion KMail b74593719112

Fix selecting a favorite that is filtered out in the foldertreeview.

Authored by dfaure on Mar 17 2018, 12:46 PM.

Description

Fix selecting a favorite that is filtered out in the foldertreeview.

Summary:
Adapt to the messagelib commit that requires a modelindex in
Pane::setCurrentFolder.

Also avoid calling setCurrentFolder twice when selecting a favorite
(once because the favorite selection changed, and once again because the
foldertreeview selection changed). This issue was pre-existing but
wasn't visible because it didn't populate the messagelist or created new
tabs.

Test Plan: Same as https://phabricator.kde.org/D14139.

Reviewers: vkrause, dvratil, mlaurent

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D14140

Details

Committed
dfaureJul 17 2018, 2:30 PM
Differential Revision
D14140: Fix selecting a favorite that is filtered out in the foldertreeview.
Parents
R206:8ca4b2dda7fe: GIT_SILENT: Prepare 5.8.80
Branches
Unknown
Tags
Unknown