Commit 07c2bf0c authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Folder View] Clear selection on Escape

Matches Dolphin behavior.

Differential Revision: https://phabricator.kde.org/D7511
parent 5377b6b0
......@@ -849,6 +849,12 @@ Item {
}
}
Keys.onEscapePressed: {
if (!editor.targetItem) {
dir.clearSelection();
}
}
Folder.ShortCut {
Component.onCompleted: {
installAsEventFilterFor(gridView);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment