mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-30 07:35:59 +00:00
Fixed: Close dialog when clicking on Abort
--HG-- branch : develop
This commit is contained in:
parent
a7ca5eaac2
commit
b6722dba24
1 changed files with 7 additions and 1 deletions
|
@ -90,6 +90,12 @@ void COperationDialog::setUninstallComponents(const SComponents &components)
|
||||||
|
|
||||||
void COperationDialog::processNextStep()
|
void COperationDialog::processNextStep()
|
||||||
{
|
{
|
||||||
|
if (operationShouldStop())
|
||||||
|
{
|
||||||
|
reject();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (m_operation)
|
switch (m_operation)
|
||||||
{
|
{
|
||||||
case OperationMigrate:
|
case OperationMigrate:
|
||||||
|
@ -473,7 +479,7 @@ void COperationDialog::onProgressFail(const QString &error)
|
||||||
|
|
||||||
void COperationDialog::onDone()
|
void COperationDialog::onDone()
|
||||||
{
|
{
|
||||||
if (!operationShouldStop()) processNextStep();
|
processNextStep();
|
||||||
}
|
}
|
||||||
|
|
||||||
void COperationDialog::downloadData()
|
void COperationDialog::downloadData()
|
||||||
|
|
Loading…
Reference in a new issue