diff --git a/js/misc/ibusManager.js b/js/misc/ibusManager.js index adf57b3c8..8c812feb1 100644 --- a/js/misc/ibusManager.js +++ b/js/misc/ibusManager.js @@ -190,7 +190,7 @@ const IBusManager = new Lang.Class({ }, getEngineDesc: function(id) { - if (!IBus || !this._ready) + if (!IBus || !this._ready || !this._engines.hasOwnProperty(id)) return null; return this._engines[id];