Do not autoexpand childless messages in the message list
commit45b967663840f6ad8dcbca2b7e009c55bb73ad87
authorRoland Pallai <dap78@magex.hu>
Sat, 25 Mar 2017 23:19:58 +0000 (26 00:19 +0100)
committerRoland Pallai <dap78@magex.hu>
Sun, 26 Mar 2017 11:18:27 +0000 (26 13:18 +0200)
treea75b9d8b171bf4bbc01fe778007eb2bc689c1e83
parent34940466b2a6d496f866ae3c8e1071e4d3e1d334
Do not autoexpand childless messages in the message list

Users familiar with Qt applications are expecting that pressing left
arrow key on a childless message immediately navigates up to the parent
in the tree but actually it's not happened at the first keystroke in a
newly expanded thread and it confuses the user. This patch is a fix for
this keyboard behaviour.

Reproducing:
1. Expand a thread
2. Navigate to a childless message in the thread
3. Press left arrow key (once)
Actual results: Nothing happens. Pressing again jumps to the parent.
Expected behaviour: Jump to the parent at the first keystroke.

Change-Id: Id0bc71df233ca934312ac105b248f280112d3671
src/Gui/MsgListView.cpp