When Esc is pressed, clear the selection and cancel the keyboard search
This patch restores the Dolphin 1.x behaviour that Esc clears the selection (Dolphin 2.0 did not have an easy way to clear the selection using the keyboard so far). Moreover, Esc now also cancels the current keyboard search. This fixes the problem that the only way to cancel the search is to wait until the timeout has expired. CCBUG: 298742 CCBUG: 297458 (cherry picked from commit d3b1312d)
Showing
- dolphin/src/kitemviews/kitemlistcontroller.cpp 7 additions, 0 deletionsdolphin/src/kitemviews/kitemlistcontroller.cpp
- dolphin/src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp 4 additions, 2 deletions...src/kitemviews/private/kitemlistkeyboardsearchmanager.cpp
- dolphin/src/kitemviews/private/kitemlistkeyboardsearchmanager.h 2 additions, 0 deletions...n/src/kitemviews/private/kitemlistkeyboardsearchmanager.h
Loading
Please register or sign in to comment