Fixed: Close dialog when clicking on Abort

--HG--
branch : develop
This commit is contained in:
kervala 2016-06-19 21:05:14 +02:00
parent a7ca5eaac2
commit b6722dba24

View file

@ -90,6 +90,12 @@ void COperationDialog::setUninstallComponents(const SComponents &components)
void COperationDialog::processNextStep()
{
if (operationShouldStop())
{
reject();
return;
}
switch (m_operation)
{
case OperationMigrate:
@ -473,7 +479,7 @@ void COperationDialog::onProgressFail(const QString &error)
void COperationDialog::onDone()
{
if (!operationShouldStop()) processNextStep();
processNextStep();
}
void COperationDialog::downloadData()