This commit is contained in:
DavidXanatos 2022-10-09 15:35:01 +02:00
parent 379a9ed21c
commit a82eb28411
3 changed files with 13 additions and 5 deletions

View File

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

View File

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

View File

@ -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<QString, QList<QString>> 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);