diff --git a/applets/krunner/contents/ui/main.qml b/applets/krunner/contents/ui/main.qml index 02533c0b..e0a9ff84 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