abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
-rw-r--r--srcs/juloo.keyboard2/Config.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index c289436..aa053b5 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -177,7 +177,8 @@ final class Config
// Extra keys are removed from the set as they are encountered during the
// first iteration then automatically added.
final Set<KeyValue> extra_keys = new HashSet<KeyValue>();
- extra_keys.addAll(extra_keys_subtype);
+ if (extra_keys_subtype != null)
+ extra_keys.addAll(extra_keys_subtype);
extra_keys.addAll(extra_keys_param);
if (kw.num_pad && show_numpad)
kw = kw.addNumPad();