mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 09:48:50 +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
|
id: anim
|
||||||
duration: PlasmaCore.Units.longDuration * 2
|
duration: PlasmaCore.Units.longDuration * 2
|
||||||
easing.type: Easing.OutQuad
|
easing.type: Easing.OutQuad
|
||||||
|
running: false
|
||||||
onFinished: {
|
onFinished: {
|
||||||
if (anim.to === root.openedContentY) {
|
if (anim.to === root.openedContentY) {
|
||||||
queryField.forceActiveFocus();
|
queryField.forceActiveFocus();
|
||||||
|
|
@ -162,7 +163,6 @@ Item {
|
||||||
}
|
}
|
||||||
PlasmaComponents.TextField {
|
PlasmaComponents.TextField {
|
||||||
id: queryField
|
id: queryField
|
||||||
focus: true
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: i18n("Search…")
|
placeholderText: i18n("Search…")
|
||||||
inputMethodHints: Qt.ImhNoPredictiveText // don't need to press "enter" to update text
|
inputMethodHints: Qt.ImhNoPredictiveText // don't need to press "enter" to update text
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue