keyboard: Do not call non-existent function

Commit 8fdf47ea5b removed _addKeys(), but forgot one caller. We just want
to regenerate the keyboard for the current group, so call into the
_onGroupChanged function.
This commit is contained in:
Carlos Garnacho 2018-02-11 16:15:14 +01:00
parent 2f9b0f8820
commit e859fc8f16

View File

@ -913,7 +913,7 @@ var Keyboard = new Lang.Class({
_onKeyboardGroupsChanged: function(keyboard) { _onKeyboardGroupsChanged: function(keyboard) {
this._groups = []; this._groups = [];
this._addKeys(); this._onGroupChanged();
}, },
_onKeyboardStateChanged: function(controller, state) { _onKeyboardStateChanged: function(controller, state) {