diff options
| author | Jules Aguillon | 2024-01-10 23:39:19 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-01-10 23:39:19 +0100 |
| commit | 148f3dfc052bc6a4161073e59505bd547ab347c3 (patch) | |
| tree | 28d612844a0769af77b48b2080f6ca3c10c88ced /srcs/juloo.keyboard2/Config.java | |
| parent | 6725d3057bc64a317d3d6ea38def15553ba01f0c (diff) | |
| download | unexpected-keyboard-148f3dfc052bc6a4161073e59505bd547ab347c3.tar.gz unexpected-keyboard-148f3dfc052bc6a4161073e59505bd547ab347c3.zip | |
prefs: Show custom layout names if provided
Show the name of custom layouts in the list if it's provided using the
`name` attribute.
This should make managing several custom layouts easier.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index 53360de..cb68e80 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -430,7 +430,7 @@ final class Config l.add(migrate_layout(snd_layout)); String custom_layout = prefs.getString("custom_layout", ""); if (custom_layout != null && !custom_layout.equals("")) - l.add(new LayoutsPreference.CustomLayout(custom_layout)); + l.add(LayoutsPreference.CustomLayout.parse(custom_layout)); LayoutsPreference.save_to_preferences(e, l); case 1: default: break; |
