Commit 695c6b3b authored by Vivek Yadav's avatar Vivek Yadav Committed by Jean-Baptiste Mardelle
Browse files

Update effecttreemodel.cpp

parent ec97c564
......@@ -223,7 +223,7 @@ void EffectTreeModel::editCustomAsset(const QString newName,const QString newDes
}
if(!newName.trimmed().isEmpty())
if(!newName.trimmed().isEmpty() && newName != currentName)
{
QDir dir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + QStringLiteral("/effects/"));
if (!dir.exists()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment