update tab stops

This commit is contained in:
adityapk00
2018-11-21 19:20:05 -08:00
parent 852df8e7b1
commit 0a7f315c1a
2 changed files with 16 additions and 4 deletions

View File

@@ -169,6 +169,7 @@ void MainWindow::turnstileProgress() {
else
progress.buttonBox->button(QDialogButtonBox::Discard)->setVisible(false);
// Abort button clicked
QObject::connect(progress.buttonBox->button(QDialogButtonBox::Discard), &QPushButton::clicked, [&] () {
if (curProgress.step != curProgress.totalSteps) {
auto abort = QMessageBox::warning(this, "Are you sure you want to Abort?",