This commit is contained in:
DavidXanatos 2023-10-04 17:50:44 +02:00
parent c14d2528bd
commit e20b7d072b
2 changed files with 7 additions and 4 deletions

View File

@ -21,6 +21,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- fixed issue with NtQueryDirectoryObject [#3310](https://github.com/sandboxie-plus/Sandboxie/issues/3310)
- fixed Some GUI functions use the wrong box path if the FileRootPath value starts with Volume{GUID} [#3345](https://github.com/sandboxie-plus/Sandboxie/issues/3345)
- fixed If a program is run on RAM and Encrypted boxes when the sandbox root folder is not present, the programs will not run [#3349](https://github.com/sandboxie-plus/Sandboxie/issues/3349)
- fixed Process Restrictions enable/disable not working correctly [#3355](https://github.com/sandboxie-plus/Sandboxie/issues/3355)
## [1.11.3 / 5.66.3] - 2023-09-27

View File

@ -141,8 +141,8 @@ void COptionsWindow::LoadBlockINet()
for (int i = 0; i < ui.treeGroups->topLevelItemCount(); i++)
{
QTreeWidgetItem* pGroupItem = ui.treeGroups->topLevelItem(i);
int Mode = GroupToINetMode(pGroupItem->data(0, Qt::UserRole).toString());
if (Mode == -1)
int GroupMode = GroupToINetMode(pGroupItem->data(0, Qt::UserRole).toString());
if (GroupMode == -1)
continue;
for (int j = 0; j < pGroupItem->childCount(); j++)
@ -150,8 +150,8 @@ void COptionsWindow::LoadBlockINet()
QString Value = pGroupItem->child(j)->data(0, Qt::UserRole).toString();
QTreeWidgetItem* pItem = new QTreeWidgetItem();
pItem->setCheckState(0, (Mode & 0x10) != 0 ? Qt::Unchecked : Qt::Checked);
Mode &= ~0x10;
pItem->setCheckState(0, (GroupMode & 0x10) != 0 ? Qt::Unchecked : Qt::Checked);
int Mode = GroupMode & ~0x10;
SetProgramItem(Value, pItem, 0);