mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
78fd9d9e4f
commit
1b84a3ecb2
2 changed files with 0 additions and 4 deletions
|
|
@ -191,8 +191,6 @@ var ScreenShield = class {
|
|||
// on its own, so ensure it stays on lock screen
|
||||
// instead
|
||||
this._lockScreenGroup.grab_key_focus();
|
||||
} else {
|
||||
this._dialog = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -499,8 +499,6 @@ var UnlockDialog = GObject.registerClass({
|
|||
|
||||
cancel() {
|
||||
this._authPrompt.cancel();
|
||||
|
||||
this.destroy();
|
||||
}
|
||||
|
||||
addCharacter(unichar) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue