diff options
| author | Jules Aguillon | 2023-08-10 19:10:32 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2023-08-16 12:21:25 +0200 |
| commit | febc23776fcf6c0a198cec442523cd0570999c15 (patch) | |
| tree | cd4350dcd71f9319753179c1dda82b9070667e47 /srcs/juloo.keyboard2/Logs.java | |
| parent | 500f4e41d3a72f5865aa489c89ad11b947fa54b7 (diff) | |
| download | unexpected-keyboard-febc23776fcf6c0a198cec442523cd0570999c15.tar.gz unexpected-keyboard-febc23776fcf6c0a198cec442523cd0570999c15.zip | |
ListGroupPreference: Fix change items
[Preference.onClick] is apparently not called on [Item]s, though it is
on [AddButton].
Workaround this by listening on click events on the view.
Diffstat (limited to 'srcs/juloo.keyboard2/Logs.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Logs.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Logs.java b/srcs/juloo.keyboard2/Logs.java index c214296..a09c83f 100644 --- a/srcs/juloo.keyboard2/Logs.java +++ b/srcs/juloo.keyboard2/Logs.java @@ -26,4 +26,10 @@ public final class Logs _debug_logs.println("swapEnterActionKey: "+conf.swapEnterActionKey); _debug_logs.println("actionLabel: "+conf.actionLabel); } + + public static void debug(String s) + { + if (_debug_logs != null) + _debug_logs.println(s); + } } |
