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:
Georges Basile Stavracas Neto
2019-11-28 19:47:58 -03:00
parent a6897c5f90
commit e64c12dd27
2 changed files with 0 additions and 4 deletions

View File

@@ -494,8 +494,6 @@ var UnlockDialog = GObject.registerClass({
cancel() {
this._authPrompt.cancel();
this.destroy();
}
addCharacter(unichar) {