mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
widgets/krunner: Fix keyboard focus being invoked on shell startup
This commit is contained in:
parent
626089800a
commit
e555a444aa
1 changed files with 1 additions and 1 deletions
|
|
@ -105,6 +105,7 @@ Item {
|
|||
id: anim
|
||||
duration: PlasmaCore.Units.longDuration * 2
|
||||
easing.type: Easing.OutQuad
|
||||
running: false
|
||||
onFinished: {
|
||||
if (anim.to === root.openedContentY) {
|
||||
queryField.forceActiveFocus();
|
||||
|
|
@ -162,7 +163,6 @@ Item {
|
|||
}
|
||||
PlasmaComponents.TextField {
|
||||
id: queryField
|
||||
focus: true
|
||||
Layout.fillWidth: true
|
||||
placeholderText: i18n("Search…")
|
||||
inputMethodHints: Qt.ImhNoPredictiveText // don't need to press "enter" to update text
|
||||
|
|
|
|||
Loading…
Reference in a new issue