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:

committed by
Florian Müllner

parent
78fd9d9e4f
commit
1b84a3ecb2
@ -499,8 +499,6 @@ var UnlockDialog = GObject.registerClass({
|
||||
|
||||
cancel() {
|
||||
this._authPrompt.cancel();
|
||||
|
||||
this.destroy();
|
||||
}
|
||||
|
||||
addCharacter(unichar) {
|
||||
|
Reference in New Issue
Block a user