]> git.sesse.net Git - kdenlive/commitdiff
Fix saving custom effect hiding other custom effects:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 1 Sep 2012 19:57:59 +0000 (21:57 +0200)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 1 Sep 2012 19:57:59 +0000 (21:57 +0200)
http://kdenlive.org/mantis/view.php?id=2674

src/initeffects.cpp

index 74ea0a83dfa9f19c5980c4a836833b57637a79dd..56e6c97734700d6d49ab470af520563549e9e942 100644 (file)
@@ -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;
     }