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:
Giovanni Campagna 2013-04-24 21:38:00 +02:00 committed by Rui Matos
parent 2eb779740c
commit d18e084cd5

View File

@ -520,6 +520,7 @@ const InputSourceIndicator = new Lang.Class({
this._inputSources = {};
this._ibusSources = {};
this._currentSource = null;
let inputSourcesByShortName = {};