mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-24 01:38:45 +00:00
Fixed: Close dialog when clicking on Abort
This commit is contained in:
parent
3fbd03b7ff
commit
a94c42b0dc
1 changed files with 7 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue