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