summaryrefslogtreecommitdiff
path: root/src/ui/labelwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-29 14:06:37 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-29 14:06:37 +0300
commitc49aa1209e9427bcfe45d77aa2dc301f1a20e831 (patch)
tree797551b63b21206a043e6d46eb37ac39e94d14fc /src/ui/labelwidget.c
parentc13bdde1bc79f95a42cd99d92b140a7b19c71c28 (diff)
Fixed: Missing bindings
Don't use built-in default bindings to update buttons or menu items.
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r--src/ui/labelwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c
index d16ef69d..43f88277 100644
--- a/src/ui/labelwidget.c
+++ b/src/ui/labelwidget.c
@@ -73,7 +73,7 @@ static void trigger_LabelWidget_(const iLabelWidget *d) {
73static void updateKey_LabelWidget_(iLabelWidget *d) { 73static void updateKey_LabelWidget_(iLabelWidget *d) {
74 if (!isEmpty_String(&d->command)) { 74 if (!isEmpty_String(&d->command)) {
75 const iBinding *bind = findCommand_Keys(cstr_String(&d->command)); 75 const iBinding *bind = findCommand_Keys(cstr_String(&d->command));
76 if (bind) { 76 if (bind && bind->id < builtIn_BindingId) {
77 d->key = bind->key; 77 d->key = bind->key;
78 d->kmods = bind->mods; 78 d->kmods = bind->mods;
79 } 79 }