diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 2 | ||||
-rw-r--r-- | src/ui/labelwidget.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 139f622c..3d8d4f12 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2089,7 +2089,7 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
2089 | size_PtrArray(links)), | 2089 | size_PtrArray(links)), |
2090 | (iMenuItem[]){ | 2090 | (iMenuItem[]){ |
2091 | { "${cancel}", 0, 0, NULL }, | 2091 | { "${cancel}", 0, 0, NULL }, |
2092 | { format_CStr(isPlural ? "dlg.import.add.many" : "dlg.import.add", | 2092 | { format_CStr(cstr_Lang(isPlural ? "dlg.import.add.many" : "dlg.import.add"), |
2093 | uiTextAction_ColorEscape, | 2093 | uiTextAction_ColorEscape, |
2094 | size_PtrArray(links)), | 2094 | size_PtrArray(links)), |
2095 | 0, | 2095 | 0, |
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")) { |