diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index 8adacf0..b6c09d5 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -245,7 +245,7 @@ public final class KeyValue implements Comparable public KeyValue withFlags(int f) { - return new KeyValue(getString(), (_code & KIND_BITS), (_code & VALUE_BITS), f); + return new KeyValue(_payload, (_code & KIND_BITS), (_code & VALUE_BITS), f); } @Override