diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index 4a3fdc704..900c81cd8 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -178,7 +178,9 @@ const InputSourceIndicator = new Lang.Class({ }, setLockedState: function(locked) { - this._showLayoutItem.actor.visible = !locked; + if (Main.sessionMode.allowSettings) { + this._showLayoutItem.actor.visible = !locked; + } this.menu.setSettingsVisibility(!locked); },