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
@ -1063,6 +1063,7 @@ const LoginDialog = new Lang.Class({
|
|||||||
transition: 'linear',
|
transition: 'linear',
|
||||||
onCompleteScope: this,
|
onCompleteScope: this,
|
||||||
onComplete: function() {
|
onComplete: function() {
|
||||||
|
if (this._workSpinner)
|
||||||
this._workSpinner.stop();
|
this._workSpinner.stop();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user