This commit is contained in:
DavidXanatos 2023-03-12 19:38:26 +01:00
parent c3b7306ed1
commit 493ce990aa
3 changed files with 19 additions and 4 deletions

View File

@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- fixed issue with run unsandboxed [#2710](https://github.com/sandboxie-plus/Sandboxie/issues/2710)
- fixed issue with new box wizard [#2729](https://github.com/sandboxie-plus/Sandboxie/issues/2729)
- fixed issue with break out processes and user restricted sandboxes [#2732](https://github.com/sandboxie-plus/Sandboxie/issues/2732)
- fixed a couple UI issues [#2733](https://github.com/sandboxie-plus/Sandboxie/issues/2733)

View File

@ -976,6 +976,9 @@ void COptionsWindow::OnDelUser()
{
foreach(QListWidgetItem* pItem, ui.lstUsers->selectedItems())
delete pItem;
m_AdvancedChanged = true;
OnOptChanged();
}
void COptionsWindow::CreateDebug()

View File

@ -372,13 +372,24 @@ void COptionsWindow::SaveGeneral()
if (ui.cmbVersion->isEnabled())
{
if (ui.cmbVersion->currentIndex() == 1) { // V2
if (ui.cmbVersion->currentIndex() == 1) // V2
{
m_pBox->SetBool("UseFileDeleteV2", true);
m_pBox->SetBool("UseRegDeleteV2", true);
}
else if (ui.cmbVersion->currentIndex() == 0) { // V1
m_pBox->DelValue("UseFileDeleteV2");
m_pBox->DelValue("UseRegDeleteV2");
else if (ui.cmbVersion->currentIndex() == 0) // V1
{
bool bUseFileDeleteV2Global = theAPI->GetGlobalSettings()->GetBool("UseFileDeleteV2", false);
if(bUseFileDeleteV2Global)
m_pBox->SetBool("UseFileDeleteV2", false);
else
m_pBox->DelValue("UseFileDeleteV2");
bool bUseRegDeleteV2Global = theAPI->GetGlobalSettings()->GetBool("UseRegDeleteV2", false);
if(bUseRegDeleteV2Global)
m_pBox->SetBool("UseRegDeleteV2", false);
else
m_pBox->DelValue("UseRegDeleteV2");
}
WriteGlobalCheck(ui.chkSeparateUserFolders, "SeparateUserFolders", true);