When Esc is pressed, clear the selection and cancel the keyboard search
author Frank Reininghaus
()
committer Frank Reininghaus
()
commit d3b1312d3edc615b03fb17c1a5fa62ccb61cdabd
tree 4fb7a9084ea0f08ed821887c330e3d5e8f5a1991
parent 73989d64f489e43e7777eb30aafe73f3ea165845
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.

BUG: 298742
CCBUG: 297458
FIXED-IN: 4.8.3
dolphin/src/kitemviews/kitemlistcontroller.cpp
dolphin/src/kitemviews/kitemlistkeyboardsearchmanager.cpp
dolphin/src/kitemviews/kitemlistkeyboardsearchmanager_p.h