mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
loginDialog: don't try to stop work spinner if it's already gone
This can happen if the dialog gets reset at the wrong moment. https://bugzilla.gnome.org/show_bug.cgi?id=693757
This commit is contained in:
parent
7da186d4e9
commit
07c0105c83
1 changed files with 2 additions and 1 deletions
|
|
@ -1063,7 +1063,8 @@ const LoginDialog = new Lang.Class({
|
|||
transition: 'linear',
|
||||
onCompleteScope: this,
|
||||
onComplete: function() {
|
||||
this._workSpinner.stop();
|
||||
if (this._workSpinner)
|
||||
this._workSpinner.stop();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue