Fix
This commit is contained in:
parent
d5adb5e2d2
commit
60e40e7849
|
@ -2306,14 +2306,14 @@ void CSandMan::OnBoxClosed(const CSandBoxPtr& pBox)
|
|||
}
|
||||
}
|
||||
|
||||
QStringList bDel=new QStringList(),list= pBox->GetTextList("Template", FALSE);
|
||||
QStringList *bDel=new QStringList(),list= pBox->GetTextList("Template", FALSE);
|
||||
foreach(const QString& Value2, list) {
|
||||
if (tr("Template_Temp_").compare(Value2.left(14)) == 0)
|
||||
{
|
||||
bDel.append(Value2);
|
||||
bDel->append(Value2);
|
||||
}
|
||||
}
|
||||
foreach(const QString& Value3, bDel) {
|
||||
foreach(const QString& Value3, *bDel) {
|
||||
list.removeAt(list.indexOf(Value3));
|
||||
}
|
||||
pBox->UpdateTextList("Template", list,FALSE);
|
||||
|
|
Loading…
Reference in New Issue