]> cloud.milkyroute.net Git - dolphin.git/commit
Scroll to item if it's not visible on keyPress
authorTranter Madi <trmdi@yandex.com>
Mon, 1 Apr 2019 03:59:04 +0000 (10:59 +0700)
committerTranter Madi <trmdi@yandex.com>
Fri, 12 Apr 2019 02:50:57 +0000 (09:50 +0700)
commitb7db272af2f20fbeeea6bba33f4ef89d1d735bb9
treebd51584910733757716aac6398df6161fccf0f34
parent97e9af5ceb3869b56b7aff53e06dcf1c4f3b8132
Scroll to item if it's not visible on keyPress

Summary: Always scroll to item if it's not visible on keyPress, even if it's the current index.

Test Plan: Select the last item, scroll up to make it not visible > press the `End` key > Dolphin now scrolls to that item.

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20152
src/kitemviews/kitemlistcontroller.cpp