Commit 78ff0a3d authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

when saving effect, show it under its name, not id in effect list

parent c898288b
Pipeline #130446 passed with stage
in 6 minutes and 17 seconds
......@@ -135,7 +135,8 @@ void EffectTreeModel::reloadEffect(const QString &path)
}
}
bool isFav = KdenliveSettings::favorite_effects().contains(asset.first);
QList<QVariant> data {asset.first, asset.first, QVariant::fromValue(AssetListType::AssetType::Custom), isFav};
QString effectName = EffectsRepository::get()->getName(asset.first);
QList<QVariant> data {effectName, asset.first, QVariant::fromValue(AssetListType::AssetType::Custom), isFav};
m_customCategory->appendChild(data);
}
......
Supports Markdown
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