keyboard: Minor refactor
Call the _updateKeys() method, instead of inlining it. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
This commit is contained in:
parent
cfc0d42c7a
commit
9c8452269d
@ -1411,8 +1411,7 @@ export const Keyboard = GObject.registerClass({
|
||||
this._keypad.hide();
|
||||
this._keypadVisible = false;
|
||||
|
||||
this._ensureKeysForGroup(this._keyboardController.getCurrentGroup());
|
||||
this._setActiveLayer(0);
|
||||
this._updateKeys();
|
||||
|
||||
Main.inputMethod.connectObject(
|
||||
'terminal-mode-changed', this._onTerminalModeChanged.bind(this),
|
||||
|
Loading…
x
Reference in New Issue
Block a user