diff --git a/CHANGELOG.md b/CHANGELOG.md index c2606f16..010d43b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - fixed miscellaneous minor issues [#2301](https://github.com/sandboxie-plus/Sandboxie/issues/2301) - fixed issue with MSEdge introduced in 106.x [#2325](https://github.com/sandboxie-plus/Sandboxie/issues/2325) - fixed vivaldi hooking issue, UseVivaldiWorkaround is no longer needed [#1783](https://github.com/sandboxie-plus/Sandboxie/issues/1783) +- fixed issues with misc advanced options page [#2315](https://github.com/sandboxie-plus/Sandboxie/issues/2315) diff --git a/Sandboxie/install/Templates.ini b/Sandboxie/install/Templates.ini index 213d3d95..b8beb0d1 100644 --- a/Sandboxie/install/Templates.ini +++ b/Sandboxie/install/Templates.ini @@ -3610,9 +3610,6 @@ ApproveWinNtSysCall=AlpcConnectPortEx ApproveWinNtSysCall=AlpcAcceptConnectPort ApproveWinNtSysCall=AlpcCreateSecurityContext -ApproveWinNtSysCall=CreateDirectoryObject -ApproveWinNtSysCall=CreateDirectoryObjectEx - ApproveWinNtSysCall=CreateLowBoxToken ApproveWinNtSysCall=TraceControl @@ -3620,6 +3617,8 @@ ApproveWinNtSysCall=NtTraceEvent ApproveWinNtSysCall=CreatePrivateNamespace +ApproveWinNtSysCall=CreateDirectoryObject +ApproveWinNtSysCall=CreateDirectoryObjectEx ApproveWinNtSysCall=OpenDirectoryObject ApproveWinNtSysCall=OpenSymbolicLinkObject diff --git a/SandboxiePlus/SandMan/Windows/OptionsAdvanced.cpp b/SandboxiePlus/SandMan/Windows/OptionsAdvanced.cpp index 576e2d4e..ab53cfad 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsAdvanced.cpp +++ b/SandboxiePlus/SandMan/Windows/OptionsAdvanced.cpp @@ -432,8 +432,6 @@ void COptionsWindow::OnNoWindowRename() SetAccessEntry(eWnd, "", eOpen, "#"); else DelAccessEntry(eWnd, "", eOpen, "#"); - m_AdvancedChanged = true; - OnOptChanged(); } // options @@ -492,6 +490,16 @@ void COptionsWindow::SaveOptionList() CloseOptionEdit(true); QMap> OptionMap; + + // cache unlisted set eOnlySpec global presets + foreach(const QString& Name, m_AdvOptions.keys()) { + foreach(const QString & Value, m_pBox->GetTextList(Name, m_Template)) { + QStringList Values = Value.split(","); + if (Values.count() < 2 && m_AdvOptions[Name].ProcSpec == eOnlySpec) + OptionMap[Name].append(Values[0]); + } + } + for (int i = 0; i < ui.treeOptions->topLevelItemCount(); i++) { QTreeWidgetItem* pItem = ui.treeOptions->topLevelItem(i);