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