fix
This commit is contained in:
parent
562f933542
commit
9e6ed930f1
|
@ -31,6 +31,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
- fixed The checkbox for the Open System Protected Storage setting appears to be unchecked [#2866](https://github.com/sandboxie-plus/Sandboxie/issues/2866)
|
||||
- fixed Firewall Rules - Colors make testing difficult in dark mode [#2900](https://github.com/sandboxie-plus/Sandboxie/issues/2900)
|
||||
- fixed RecoverFolder shows GUID instead of folder name [#2918](https://github.com/sandboxie-plus/Sandboxie/issues/2918)
|
||||
- fixed System tray icon hourglass overlay gets stuck when operation is stopped [#2869](https://github.com/sandboxie-plus/Sandboxie/issues/2869)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -946,6 +946,7 @@ next:
|
|||
m_JobQueue.removeFirst();
|
||||
theAPI->m_JobCount--;
|
||||
if (Status.IsError()) {
|
||||
theAPI->m_JobCount -= m_JobQueue.count();
|
||||
m_JobQueue.clear();
|
||||
theGUI->CheckResults(QList<SB_STATUS>() << Status);
|
||||
return;
|
||||
|
@ -966,12 +967,14 @@ void CSandBoxPlus::OnAsyncFinished()
|
|||
theAPI->m_JobCount--;
|
||||
CSbieProgressPtr pProgress = pJob->GetProgress();
|
||||
if (pProgress->IsCanceled()) {
|
||||
theAPI->m_JobCount -= m_JobQueue.count();
|
||||
m_JobQueue.clear();
|
||||
return;
|
||||
}
|
||||
|
||||
SB_STATUS Status = pProgress->GetStatus();
|
||||
if (Status.IsError()) {
|
||||
theAPI->m_JobCount -= m_JobQueue.count();
|
||||
m_JobQueue.clear();
|
||||
theGUI->CheckResults(QList<SB_STATUS>() << Status, true);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue