Update SbieView.cpp
This commit is contained in:
parent
3e406dc4ee
commit
b20c87569f
|
@ -1205,11 +1205,14 @@ void CSbieView::OnSandBoxAction(QAction* Action, const QList<CSandBoxPtr>& SandB
|
|||
if (!TestNameAndWarn(Value))
|
||||
return;
|
||||
|
||||
Results.append((SandBoxes.first()->RenameBox(Value)));
|
||||
|
||||
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)
|
||||
{
|
||||
theGUI->ShowRecovery(SandBoxes.first());
|
||||
|
|
Loading…
Reference in New Issue