Update SbieView.cpp
This commit is contained in:
parent
a8cdb40295
commit
c19bda4416
|
@ -1233,14 +1233,14 @@ void CSbieView::OnSandBoxAction(QAction* Action, const QList<CSandBoxPtr>& SandB
|
|||
SB_STATUS Status = theGUI->DeleteBoxContent(pBox, CSandMan::eForDelete);
|
||||
if (Status.GetMsgCode() == SB_Canceled)
|
||||
break;
|
||||
QString m_Name = pBox->GetName();
|
||||
QString Name = pBox->GetName();
|
||||
if (!Status.IsError())
|
||||
Status = pBox->RemoveBox();
|
||||
Results.append(Status);
|
||||
|
||||
for (auto I = m_Groups.begin(); I != m_Groups.end(); ++I)
|
||||
{
|
||||
if (I.value().removeOne(m_Name))
|
||||
if (I.value().removeOne(Name))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue