Changed: Call accept() or reject() depending on next action

This commit is contained in:
kervala 2016-05-16 14:53:19 +02:00
parent f8d2c30957
commit e79aa31372

View file

@ -139,6 +139,10 @@ void COperationDialog::processNextStep()
createDefaultShortcuts();
break;
case CConfigFile::Done:
accept();
break;
default:
// cases already managed in main.cpp
break;
@ -221,7 +225,7 @@ void COperationDialog::onProgressStop()
m_button->progress()->hide();
#endif
close();
reject();
}
void COperationDialog::onProgressProgress(qint64 current, const QString &filename)