mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue