Fix keyboard navigation issue when Home or End are pressed
author Frank Reininghaus
()
committer Frank Reininghaus
()
commit 999234a94ae41cfb4f2167d2779b562ebf8127ce
tree 27e9fea04a8a3e3708220e99b6368daf6a2afd15
parent 0da05a975be2e4d04cd717684be4f4f5b5ac5e69
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.
FIXED-IN: 4.8.1
dolphin/src/kitemviews/kitemlistcontroller.cpp