Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Sandboxie-Plus.ini configuration #2234

Merged
merged 10 commits into from
Sep 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update SbieView.cpp
  • Loading branch information
okrc committed Sep 15, 2022
commit b20c87569f2f529900f8aad1e21eadaabdbac3c1
11 changes: 7 additions & 4 deletions SandboxiePlus/SandMan/Views/SbieView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1205,10 +1205,13 @@ void CSbieView::OnSandBoxAction(QAction* Action, const QList<CSandBoxPtr>& SandB
if (!TestNameAndWarn(Value))
return;

Results.append((SandBoxes.first()->RenameBox(Value)));

RenameItem(OldValue, Value);
theConf->DelValue("SizeCache/" + OldValue);
SB_STATUS Status = SandBoxes.first()->RenameBox(Value);
if (!Status.IsError())
{
RenameItem(OldValue, Value);
theConf->DelValue("SizeCache/" + OldValue);
}
Results.append(Status);
}
else if (Action == m_pMenuRecover)
{
Expand Down