Skip to content

Commit

Permalink
Update OptionsGeneral.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXanatos committed Jan 16, 2023
1 parent a228904 commit d262417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ void COptionsWindow::UpdateBoxSecurity()
ui.chkRestrictDevices->setEnabled(!ui.chkSecurityMode->isChecked());

if (!theAPI->IsRunningAsAdmin()) {
ui.chkDropRights->setEnabled(!ui.chkSecurityMode->isChecked() && !ui.chkNoSecurityIsolation->isChecked() && !theAPI->IsRunningAsAdmin());
ui.chkDropRights->setEnabled(!ui.chkSecurityMode->isChecked() /*&& !ui.chkNoSecurityIsolation->isChecked() && !theAPI->IsRunningAsAdmin()*/);
}

if (ui.chkSecurityMode->isChecked()) {
Expand Down

0 comments on commit d262417

Please sign in to comment.