unlockDialog: Don't destroy on cancel
Otherwise there will be no way to recover it in the future. Also remove an else condition that assumed the dialog would destroy itself on cancel. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872
This commit is contained in:
parent
a6897c5f90
commit
e64c12dd27
@ -192,8 +192,6 @@ var ScreenShield = class {
|
|||||||
// on its own, so ensure it stays on lock screen
|
// on its own, so ensure it stays on lock screen
|
||||||
// instead
|
// instead
|
||||||
this._lockScreenGroup.grab_key_focus();
|
this._lockScreenGroup.grab_key_focus();
|
||||||
} else {
|
|
||||||
this._dialog = null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -494,8 +494,6 @@ var UnlockDialog = GObject.registerClass({
|
|||||||
|
|
||||||
cancel() {
|
cancel() {
|
||||||
this._authPrompt.cancel();
|
this._authPrompt.cancel();
|
||||||
|
|
||||||
this.destroy();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
addCharacter(unichar) {
|
addCharacter(unichar) {
|
||||||
|
Loading…
Reference in New Issue
Block a user