Keyboard: clear currentSource after destruction
StLabel doesn't like that we set its properties after destructions, and this would happen in currentInputSourceChanged() at the end, when setting the ornament.
This commit is contained in:
parent
e0252f35be
commit
aef70152de
@ -459,6 +459,7 @@ const InputSourceIndicator = new Lang.Class({
|
||||
|
||||
this._inputSources = {};
|
||||
this._ibusSources = {};
|
||||
this._currentSource = null;
|
||||
|
||||
let inputSourcesByShortName = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user