diff options
-rw-r--r-- | res/about/version.gmi | 1 | ||||
-rw-r--r-- | src/ui/bindingswidget.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/res/about/version.gmi b/res/about/version.gmi index 10dbb8f6..f8aaea94 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -7,6 +7,7 @@ | |||
7 | # Release notes | 7 | # Release notes |
8 | 8 | ||
9 | ## 1.3.2 | 9 | ## 1.3.2 |
10 | * Fixed keybindings list not being updated immediately when UI language changes. | ||
10 | 11 | ||
11 | ## 1.3.1 | 12 | ## 1.3.1 |
12 | * Added UI languages: Serbian, Interlingue. | 13 | * Added UI languages: Serbian, Interlingue. |
diff --git a/src/ui/bindingswidget.c b/src/ui/bindingswidget.c index dc23dd6e..6e8fa5b5 100644 --- a/src/ui/bindingswidget.c +++ b/src/ui/bindingswidget.c | |||
@@ -179,6 +179,10 @@ 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 (equal_Command(cmd, "lang.changed")) { | ||
183 | updateItems_BindingsWidget_(d); | ||
184 | return iFalse; | ||
185 | } | ||
182 | if (ev->type == SDL_MOUSEBUTTONDOWN && ev->button.button == SDL_BUTTON_RIGHT) { | 186 | if (ev->type == SDL_MOUSEBUTTONDOWN && ev->button.button == SDL_BUTTON_RIGHT) { |
183 | if (!isVisible_Widget(d->menu)) { | 187 | if (!isVisible_Widget(d->menu)) { |
184 | d->contextPos = hoverItemIndex_ListWidget(d->list); | 188 | d->contextPos = hoverItemIndex_ListWidget(d->list); |