diff options
Diffstat (limited to 'application/pages/LegacyUpgradePage.cpp')
-rw-r--r-- | application/pages/LegacyUpgradePage.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/application/pages/LegacyUpgradePage.cpp b/application/pages/LegacyUpgradePage.cpp index c1ad0146..a8f4a08c 100644 --- a/application/pages/LegacyUpgradePage.cpp +++ b/application/pages/LegacyUpgradePage.cpp @@ -27,7 +27,10 @@ void LegacyUpgradePage::runModalTask(Task *task) }); ProgressDialog loadDialog(this); loadDialog.setSkipButton(true, tr("Abort")); - loadDialog.execWithTask(task); + if(loadDialog.execWithTask(task) == QDialog::Accepted) + { + m_container->requestClose(); + } } void LegacyUpgradePage::on_upgradeButton_clicked() |