summaryrefslogtreecommitdiff
path: root/src/ui/translation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/translation.c')
-rw-r--r--src/ui/translation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/translation.c b/src/ui/translation.c
index 4102fcb9..ed7e5baa 100644
--- a/src/ui/translation.c
+++ b/src/ui/translation.c
@@ -460,6 +460,7 @@ iBool handleCommand_Translation(iTranslation *d, const char *cmd) {
460 if (equalWidget_Command(cmd, w, "translation.finished")) { 460 if (equalWidget_Command(cmd, w, "translation.finished")) {
461 if (!isFinished_Translation(d)) { 461 if (!isFinished_Translation(d)) {
462 if (processResult_Translation_(d)) { 462 if (processResult_Translation_(d)) {
463 setupSheetTransition_Mobile(d->dlg, iFalse);
463 destroy_Widget(d->dlg); 464 destroy_Widget(d->dlg);
464 d->dlg = NULL; 465 d->dlg = NULL;
465 } 466 }
@@ -476,6 +477,7 @@ iBool handleCommand_Translation(iTranslation *d, const char *cmd) {
476 cancel_TlsRequest(d->request); 477 cancel_TlsRequest(d->request);
477 } 478 }
478 else { 479 else {
480 setupSheetTransition_Mobile(d->dlg, iFalse);
479 destroy_Widget(d->dlg); 481 destroy_Widget(d->dlg);
480 d->dlg = NULL; 482 d->dlg = NULL;
481 } 483 }