Skip to content

Commit

Permalink
Merge pull request #3896 from offhub/fix012
Browse files Browse the repository at this point in the history
Update SandMan.cpp
  • Loading branch information
DavidXanatos committed May 12, 2024
2 parents 48c8874 + 0c965e1 commit c5e4c19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SandboxiePlus/SandMan/SandMan.cpp
Expand Up @@ -2306,10 +2306,11 @@ void CSandMan::OnBoxClosed(const CSandBoxPtr& pBox)
}
}

QString tempValPrefix = "Temp_";
QStringList to_delete;
QStringList list = pBox->GetTextList("Template", FALSE);
foreach(const QString& Value, list) {
if (tr("Template_Temp_").compare(Value.left(14)) == 0)
if (tempValPrefix.compare(Value.left(5)) == 0)
to_delete.append(Value);
}
if (!to_delete.isEmpty()) {
Expand Down

0 comments on commit c5e4c19

Please sign in to comment.