summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-30 23:02:11 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-31 08:56:16 +0100
commitb37e7ce72bc9db14e777aa22dd631f3eebea4822 (patch)
treee82935f1b851bad36f4e37b71309218e5b123026
parentbbd2a1ffbe1408d21e7980880796f99d98aa23de (diff)
downloadkube-b37e7ce72bc9db14e777aa22dd631f3eebea4822.tar.gz
kube-b37e7ce72bc9db14e777aa22dd631f3eebea4822.zip
Give focus to the loginview
-rw-r--r--components/kube/qml/Kube.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/kube/qml/Kube.qml b/components/kube/qml/Kube.qml
index c0d85bc4..bf38ab72 100644
--- a/components/kube/qml/Kube.qml
+++ b/components/kube/qml/Kube.qml
@@ -253,7 +253,8 @@ Controls2.ApplicationWindow {
253 Kube.Listener { 253 Kube.Listener {
254 filter: Kube.Messages.requestLogin 254 filter: Kube.Messages.requestLogin
255 onMessageReceived: { 255 onMessageReceived: {
256 loginView.createObject(kubeViews, {accountId: message.accountId}) 256 var view = loginView.createObject(kubeViews, {accountId: message.accountId})
257 view.forceActiveFocus()
257 } 258 }
258 } 259 }
259 260