Fixed: Stalling interface when an error occurs when downloading, see #279

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 36b106e2ab
commit cd9abbcaae

@ -492,6 +492,13 @@ void COperationDialog::onProgressSuccess(qint64 total)
void COperationDialog::onProgressFail(const QString &error) void COperationDialog::onProgressFail(const QString &error)
{ {
QMessageBox::critical(this, tr("Error"), error); QMessageBox::critical(this, tr("Error"), error);
{
QMutexLocker locker(&m_abortingMutex);
m_aborting = true;
}
processNextStep();
} }
void COperationDialog::onDone() void COperationDialog::onDone()

Loading…
Cancel
Save