diff --git a/containments/desktop/package/contents/ui/FolderView.qml b/containments/desktop/package/contents/ui/FolderView.qml --- a/containments/desktop/package/contents/ui/FolderView.qml +++ b/containments/desktop/package/contents/ui/FolderView.qml @@ -849,6 +849,12 @@ } } + Keys.onEscapePressed: { + if (!editor.targetItem) { + dir.clearSelection(); + } + } + Folder.ShortCut { Component.onCompleted: { installAsEventFilterFor(gridView);