diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-15 19:03:33 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-15 19:03:41 +0200 |
commit | 42bd372f1b0c93df06000f55df779696e4cb3aa3 (patch) | |
tree | eef1fbd17b47650653186318ed343e71cd7584ba /src/ui/util.c | |
parent | ee2d10692f702ec650aed084825a49a531769077 (diff) |
Translation: Handling cancellation/errors
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 61ecf948..9d75129e 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -2222,6 +2222,7 @@ const char *languageId_String(const iString *menuItemLabel) { | |||
2222 | 2222 | ||
2223 | iWidget *makeTranslation_Widget(iWidget *parent) { | 2223 | iWidget *makeTranslation_Widget(iWidget *parent) { |
2224 | iWidget *dlg = makeSheet_Widget("xlt"); | 2224 | iWidget *dlg = makeSheet_Widget("xlt"); |
2225 | setFlags_Widget(dlg, keepOnTop_WidgetFlag, iFalse); | ||
2225 | setCommandHandler_Widget(dlg, translationHandler_); | 2226 | setCommandHandler_Widget(dlg, translationHandler_); |
2226 | addChildFlags_Widget(dlg, | 2227 | addChildFlags_Widget(dlg, |
2227 | iClob(new_LabelWidget(uiHeading_ColorEscape "TRANSLATE PAGE", NULL)), | 2228 | iClob(new_LabelWidget(uiHeading_ColorEscape "TRANSLATE PAGE", NULL)), |