diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/bindingswidget.c | 6 | ||||
-rw-r--r-- | src/ui/labelwidget.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/bindingswidget.c b/src/ui/bindingswidget.c index 6e8fa5b5..4cf8df8e 100644 --- a/src/ui/bindingswidget.c +++ b/src/ui/bindingswidget.c | |||
@@ -179,6 +179,12 @@ static iBool processEvent_BindingsWidget_(iBindingsWidget *d, const SDL_Event *e | |||
179 | postCommand_App("bindings.changed"); | 179 | postCommand_App("bindings.changed"); |
180 | return iTrue; | 180 | return iTrue; |
181 | } | 181 | } |
182 | else if (startsWith_CStr(cmd, "tabs.changed id:bindings")) { | ||
183 | /* Force the scrollbar to unfade. The list is created hidden so the scrollbar is not | ||
184 | shown by default.*/ | ||
185 | updateVisible_ListWidget(d->list); | ||
186 | return iFalse; | ||
187 | } | ||
182 | else if (equal_Command(cmd, "lang.changed")) { | 188 | else if (equal_Command(cmd, "lang.changed")) { |
183 | updateItems_BindingsWidget_(d); | 189 | updateItems_BindingsWidget_(d); |
184 | return iFalse; | 190 | return iFalse; |
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c index e4ab378d..5d0f0041 100644 --- a/src/ui/labelwidget.c +++ b/src/ui/labelwidget.c | |||
@@ -556,5 +556,5 @@ iLabelWidget *newColor_LabelWidget(const char *text, int color) { | |||
556 | iBeginDefineSubclass(LabelWidget, Widget) | 556 | iBeginDefineSubclass(LabelWidget, Widget) |
557 | .processEvent = (iAny *) processEvent_LabelWidget_, | 557 | .processEvent = (iAny *) processEvent_LabelWidget_, |
558 | .draw = (iAny *) draw_LabelWidget_, | 558 | .draw = (iAny *) draw_LabelWidget_, |
559 | .sizeChanged = (iAny *) sizeChanged_LabelWidget_, | 559 | .sizeChanged = (iAny *) sizeChanged_LabelWidget_, |
560 | iEndDefineSubclass(LabelWidget) | 560 | iEndDefineSubclass(LabelWidget) |