This commit is contained in:
Aditya Kulkarni
2018-10-30 15:14:48 -07:00
parent 42959c26d6
commit d5bfcbe4b4
3 changed files with 5 additions and 5 deletions

View File

@@ -155,8 +155,8 @@ void MainWindow::turnstileProgress() {
}
});
auto accpeted = d.exec();
if (accpeted == QDialog::Accepted && curProgress.step == curProgress.totalSteps) {
d.exec();
if (curProgress.step == curProgress.totalSteps) {
// Finished, so delete the file
rpc->getTurnstile()->removeFile();
}