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
2eb779740c
commit
d18e084cd5
@ -520,6 +520,7 @@ const InputSourceIndicator = new Lang.Class({
|
||||
|
||||
this._inputSources = {};
|
||||
this._ibusSources = {};
|
||||
this._currentSource = null;
|
||||
|
||||
let inputSourcesByShortName = {};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user