diff options
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r-- | src/ui/labelwidget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c index 6e8208c4..c34ae3cf 100644 --- a/src/ui/labelwidget.c +++ b/src/ui/labelwidget.c | |||
@@ -86,7 +86,10 @@ static iBool processEvent_LabelWidget_(iLabelWidget *d, const SDL_Event *ev) { | |||
86 | updateSize_LabelWidget(d); | 86 | updateSize_LabelWidget(d); |
87 | } | 87 | } |
88 | else if (isCommand_UserEvent(ev, "lang.changed")) { | 88 | else if (isCommand_UserEvent(ev, "lang.changed")) { |
89 | const iChar oldIcon = d->icon; /* icon will be retained */ | ||
89 | setText_LabelWidget(d, &d->srcLabel); | 90 | setText_LabelWidget(d, &d->srcLabel); |
91 | checkIcon_LabelWidget(d); /* strip it */ | ||
92 | d->icon = oldIcon; | ||
90 | return iFalse; | 93 | return iFalse; |
91 | } | 94 | } |
92 | else if (isCommand_UserEvent(ev, "bindings.changed")) { | 95 | else if (isCommand_UserEvent(ev, "bindings.changed")) { |