From: Jean-Baptiste Mardelle Date: Sat, 1 Sep 2012 19:57:59 +0000 (+0200) Subject: Fix saving custom effect hiding other custom effects: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=cceb7560ae02f86d902f71898019f2e9127cca6a;p=kdenlive Fix saving custom effect hiding other custom effects: http://kdenlive.org/mantis/view.php?id=2674 --- diff --git a/src/initeffects.cpp b/src/initeffects.cpp index 74ea0a83..56e6c977 100644 --- a/src/initeffects.cpp +++ b/src/initeffects.cpp @@ -341,7 +341,7 @@ void initEffects::parseCustomEffectsFile() } effectsMap.insert(groupName.toLower().toUtf8().data(), base); } else if (base.tagName() == "effect") { - effectsMap.insert(e.firstChildElement("name").text().toLower().toUtf8().data(), base); + effectsMap.insert(base.firstChildElement("name").text().toLower().toUtf8().data(), base); } else kDebug() << "Unsupported effect file: " << itemName; }