diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-18 14:49:14 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-18 14:49:14 +0200 |
commit | 316b3cdc61984f0a8afd2d9a96c563d034c86444 (patch) | |
tree | 0bfba25005482a907dc1c3ee2c6eae9d56a151b1 /src | |
parent | 0b14c8d488c8c2c3f98bd880f30743778ada6827 (diff) |
Translation: Enable handling of completed request
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/translation.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/translation.c b/src/ui/translation.c index 1112f9ea..d3ac5bba 100644 --- a/src/ui/translation.c +++ b/src/ui/translation.c | |||
@@ -457,14 +457,12 @@ iBool handleCommand_Translation(iTranslation *d, const char *cmd) { | |||
457 | return iTrue; | 457 | return iTrue; |
458 | } | 458 | } |
459 | if (equalWidget_Command(cmd, w, "translation.finished")) { | 459 | if (equalWidget_Command(cmd, w, "translation.finished")) { |
460 | #if 0 | ||
461 | if (!isFinished_Translation(d)) { | 460 | if (!isFinished_Translation(d)) { |
462 | if (processResult_Translation_(d)) { | 461 | if (processResult_Translation_(d)) { |
463 | destroy_Widget(d->dlg); | 462 | destroy_Widget(d->dlg); |
464 | d->dlg = NULL; | 463 | d->dlg = NULL; |
465 | } | 464 | } |
466 | } | 465 | } |
467 | #endif | ||
468 | return iTrue; | 466 | return iTrue; |
469 | } | 467 | } |
470 | if (equalWidget_Command(cmd, d->dlg, "translation.cancel")) { | 468 | if (equalWidget_Command(cmd, d->dlg, "translation.cancel")) { |