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
parent e0252f35be
commit aef70152de

View File

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