Merge pull request #4115 from 1mm0rt41PC/patch-1
Fix issue https://github.com/sandboxie-plus/Sandboxie/issues/3999
This commit is contained in:
commit
88cc9f7843
|
@ -1786,10 +1786,8 @@ void CSbieView::OnDoubleClicked(const CSandBoxPtr &pBox)
|
||||||
|
|
||||||
if (!pBox->IsEnabled())
|
if (!pBox->IsEnabled())
|
||||||
{
|
{
|
||||||
if (QMessageBox("Sandboxie-Plus", tr("This sandbox is disabled or restricted to a group/user, do you want to edit it?"), QMessageBox::Question, QMessageBox::Yes, QMessageBox::No | QMessageBox::Default | QMessageBox::Escape, QMessageBox::NoButton, this).exec() != QMessageBox::Yes)
|
if (QMessageBox("Sandboxie-Plus", tr("This sandbox is disabled or restricted to a group/user, do you want to allow box for everybody ?"), QMessageBox::Question, QMessageBox::Yes, QMessageBox::No | QMessageBox::Default | QMessageBox::Escape, QMessageBox::NoButton, this).exec() != QMessageBox::Yes)
|
||||||
return;
|
pBox->SetText("Enabled", "y");// Fix #3999
|
||||||
pBox->SetText("Enabled", "y");
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Action = pBox->GetText("DblClickAction");
|
QString Action = pBox->GetText("DblClickAction");
|
||||||
|
|
Loading…
Reference in New Issue