Patch from aleksejshilin

Authored by mlaurent on Feb 13 2018, 12:51 PM.

Description

Patch from aleksejshilin

Previously, current message selection was saved only when switching
collections. As the result, selection changes were not always saved,
breaking the PreSelectLastSelected mode (which is the default one in
e.g. KMail).

This commit fixes the issue by saving current selection at tab close
and at Pane destruction (i.e. application exit).

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

Details

Committed
mlaurentFeb 13 2018, 12:51 PM
Differential Revision
D10478: messagelist: Save current selection at exit
Parents
R94:25449978e1b0: qobject_cast can return nullptr. Check it before to use it
Branches
Unknown
Tags
Unknown