summaryrefslogtreecommitdiff
path: root/Userland/Applications/KeyboardSettings/Keyboard.gml
diff options
context:
space:
mode:
authorNícolas F. R. A. Prado <n@nfraprado.net>2022-02-24 22:17:44 -0500
committerAndreas Kling <kling@serenityos.org>2022-03-22 12:21:21 +0100
commit2c44c7fc89a8bcf81ec5e93e42133b7c6aaebc38 (patch)
tree760a992d6f640d46e5a70c723c6c6aa2834ee731 /Userland/Applications/KeyboardSettings/Keyboard.gml
parenta48d7d6adc8969e942088d7752a7b75124dc1686 (diff)
downloadserenity-2c44c7fc89a8bcf81ec5e93e42133b7c6aaebc38.zip
KeyboardSettings: Allow changing and applying active keymap
Previously only the list of allowed keymaps could be modified and applied to the system. Add a new button to activate the selected keymap from the list. When applying the changes to the system, also apply the active keymap.
Diffstat (limited to 'Userland/Applications/KeyboardSettings/Keyboard.gml')
-rw-r--r--Userland/Applications/KeyboardSettings/Keyboard.gml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Applications/KeyboardSettings/Keyboard.gml b/Userland/Applications/KeyboardSettings/Keyboard.gml
index 822378e1a7..949faffd5f 100644
--- a/Userland/Applications/KeyboardSettings/Keyboard.gml
+++ b/Userland/Applications/KeyboardSettings/Keyboard.gml
@@ -40,6 +40,12 @@
}
@GUI::Button {
+ name: "activate_keymap_button"
+ text: "Activate keymap"
+ enabled: false
+ }
+
+ @GUI::Button {
name: "add_keymap_button"
text: "Add keymap"
}