Update OptionsAccess.cpp

This commit is contained in:
DavidXanatos 2022-09-18 11:08:14 +02:00
parent 572fb7d3cf
commit da7bda3edd
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ void COptionsWindow::CloseAccessEdit(QTreeWidgetItem* pItem, bool bSave)
{ {
if (theConf->GetInt("Options/WarnOpenCOM", -1) == -1) { if (theConf->GetInt("Options/WarnOpenCOM", -1) == -1) {
bool State = false; bool State = false;
if (CCheckableMessageBox::question(this, "Sandboxie-Plus", tr("Opening all IPC access, also opens COM access, do you want to restrict COM to the sandbox non the less?") if (CCheckableMessageBox::question(this, "Sandboxie-Plus", tr("Opening all IPC access also opens COM access, do you still want to restrict COM to the sandbox?")
, tr("Don't ask in future"), &State, QDialogButtonBox::Yes | QDialogButtonBox::No, QDialogButtonBox::Yes) == QDialogButtonBox::Yes) , tr("Don't ask in future"), &State, QDialogButtonBox::Yes | QDialogButtonBox::No, QDialogButtonBox::Yes) == QDialogButtonBox::Yes)
SetTemplate("BoxedCOM", true); // Normal overrides Open even without rule specificity :D SetTemplate("BoxedCOM", true); // Normal overrides Open even without rule specificity :D
if (State) if (State)