]> cloud.milkyroute.net Git - dolphin.git/commit
Fix keyboard navigation issue when Home or End are pressed
authorFrank Reininghaus <frank78ac@googlemail.com>
Tue, 31 Jan 2012 22:12:36 +0000 (23:12 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Tue, 31 Jan 2012 22:19:09 +0000 (23:19 +0100)
commit530b91b9c738baece708e7fef730444d50ec9db0
tree570fbc405eb9bb4a98c6caef103a30be7836a5dc
parent3872938944b48024f3a109b96f4cafa8f1184e4b
Fix keyboard navigation issue when Home or End are pressed

The problem was that m_keyboardAnchorIndex and m_keyboardAnchorPos were
not updated when Home or End are pressed. This causes the following
unexpected behavior in Icons View: Press Home, then Right, then Down,
then Home, finally Down. One would expect that the first item in the
second row is the current item then, but before this commit, it was the
second one because the controller still remembered that the second
column was active before Home was pressed.
(cherry picked from commit 999234a94ae41cfb4f2167d2779b562ebf8127ce)
src/kitemviews/kitemlistcontroller.cpp