From 810b0726b2fea72f7c3ce2ecbe7fd771c8e5df00 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Sat, 23 Oct 2021 08:56:31 +0200 Subject: [PATCH] Hide KRunner window when pressing escape Otherwise the check for the unprintable characters return true and the search field is focused. BUG: 444240 --- lookandfeel/contents/runcommand/RunCommand.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lookandfeel/contents/runcommand/RunCommand.qml b/lookandfeel/contents/runcommand/RunCommand.qml index 4c6e8068e..4f645c0b7 100644 --- a/lookandfeel/contents/runcommand/RunCommand.qml +++ b/lookandfeel/contents/runcommand/RunCommand.qml @@ -268,6 +268,10 @@ ColumnLayout { } } + Keys.onEscapePressed: { + runnerWindow.visible = false + } + onActivated: { runnerWindow.visible = false }