This commit is contained in:
DavidXanatos 2023-05-21 09:38:49 +02:00
parent 562f933542
commit 9e6ed930f1
2 changed files with 5 additions and 0 deletions

View File

@ -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 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 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 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)

View File

@ -946,6 +946,7 @@ next:
m_JobQueue.removeFirst(); m_JobQueue.removeFirst();
theAPI->m_JobCount--; theAPI->m_JobCount--;
if (Status.IsError()) { if (Status.IsError()) {
theAPI->m_JobCount -= m_JobQueue.count();
m_JobQueue.clear(); m_JobQueue.clear();
theGUI->CheckResults(QList<SB_STATUS>() << Status); theGUI->CheckResults(QList<SB_STATUS>() << Status);
return; return;
@ -966,12 +967,14 @@ void CSandBoxPlus::OnAsyncFinished()
theAPI->m_JobCount--; theAPI->m_JobCount--;
CSbieProgressPtr pProgress = pJob->GetProgress(); CSbieProgressPtr pProgress = pJob->GetProgress();
if (pProgress->IsCanceled()) { if (pProgress->IsCanceled()) {
theAPI->m_JobCount -= m_JobQueue.count();
m_JobQueue.clear(); m_JobQueue.clear();
return; return;
} }
SB_STATUS Status = pProgress->GetStatus(); SB_STATUS Status = pProgress->GetStatus();
if (Status.IsError()) { if (Status.IsError()) {
theAPI->m_JobCount -= m_JobQueue.count();
m_JobQueue.clear(); m_JobQueue.clear();
theGUI->CheckResults(QList<SB_STATUS>() << Status, true); theGUI->CheckResults(QList<SB_STATUS>() << Status, true);
return; return;