on xenial help sign in
Focus the shutdown dialog

This way the keyboard will hide and we won't have a weird situation in which the keyaboard is half shown in shutdown dialog when we try get it on the passphrase dialog in the LockScreen

commita529370902c6fcc7b8473c573f50fe93bdda459e authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 20 Mar 2015, 13:03 (12 years ago) parent4d5d38e
1 file changed+1
qml/Components/Dialogs.qml+1
qml/Components/Dialogs.qml+1
@@ -51,6 +51,7 @@ Item {
5151 if (!dialogLoader.active) {
5252 dialogLoader.sourceComponent = powerDialogComponent;
5353 dialogLoader.active = true;
54+ dialogLoader.item.forceActiveFocus();
5455 }
5556 }
5657 }