<table><tr><td style="">aleksejshilin created this revision.<br />aleksejshilin added a reviewer: KDE PIM.<br />Restricted Application added a project: KDE PIM.<br />aleksejshilin requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10478" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Previously, current message selection was saved only when switching<br />
collections. As the result, selection changes were not always saved,<br />
breaking the PreSelectLastSelected mode (which is the default one in<br />
e.g. KMail).</p>

<p>This commit fixes the issue by saving current selection at tab close<br />
and at Pane destruction (i.e. application exit).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R94 PIM: Message Library</div></div></div><br /><div><strong>BRANCH</strong><div><div>save_selection_on_close</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10478" rel="noreferrer">https://phabricator.kde.org/D10478</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>messagelist/src/pane.cpp</div></div></div><br /><div><strong>To: </strong>aleksejshilin, KDE PIM<br /><strong>Cc: </strong>dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>