Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

small fix for project opening

svn path=/branches/KDE4/; revision=2285
parent 5c822c42
......@@ -153,7 +153,6 @@ void ClipItem::setKeyframes(const int ix, const QString keyframes) {
void ClipItem::setSelectedEffect(const int ix) {
m_selectedEffect = ix;
QDomElement effect = effectAt(m_selectedEffect);
QDomNodeList params = effect.elementsByTagName("parameter");
......@@ -873,6 +872,10 @@ QMap <QString, QString> ClipItem::addEffect(QDomElement effect, bool animate) {
r.setHeight(20);
update(r);
}
if (m_selectedEffect == -1) {
m_selectedEffect = 0;
setSelectedEffect(m_selectedEffect);
}
return effectParams;
}
......
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