]> git.sesse.net Git - kdenlive/blobdiff - src/trackview.cpp
Cleanup monitor overlay info (for marker and zone text)
[kdenlive] / src / trackview.cpp
index 2b06a311d60a89db02453dcc923a74c1688508b1..3b29f7352fa35ba573a806d0ac4441d8e5e4e9b8 100644 (file)
@@ -848,7 +848,10 @@ void TrackView::slotAddProjectEffects(QDomNodeList effects, QDomElement parentNo
                             }
                             e.setAttribute("keyframes", kfrs.join(";"));
                         } else {
-                            e.setAttribute("value", paramvalue.toDouble() * fact);
+                            bool ok;
+                            e.setAttribute("value", paramvalue.toDouble(&ok) * fact);
+                            if (!ok)
+                                e.setAttribute("value", paramvalue);
                         }
                         break;
                     }