From 17899f597b9d6981d2591129413b3507f61724d6 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Fri, 28 May 2021 18:33:53 -0400 Subject: [PATCH] Don't reopen keyboard after krunner dialog closes --- applets/krunner/contents/ui/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applets/krunner/contents/ui/main.qml b/applets/krunner/contents/ui/main.qml index 02533c0b3..e0a9ff84c 100644 --- a/applets/krunner/contents/ui/main.qml +++ b/applets/krunner/contents/ui/main.qml @@ -73,7 +73,7 @@ Item { visible: false color: "transparent" onVisibleChanged: { - if (visible) { + if (!visible) { queryField.forceActiveFocus(); } } @@ -188,7 +188,7 @@ Item { checked: resultDelegate.activeAction === index focus: resultDelegate.activeAction === index - Kirigami.Icon{ + Kirigami.Icon { anchors.centerIn: parent width: units.iconSizes.small height: units.iconSizes.small -- GitLab