[pitivi] titleeditor: Workaround TitleSource not saved in xges



commit da1cc450d84d35635481d6be34c4d7b780ddcaaa
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Wed Apr 9 10:09:19 2014 +0200

    titleeditor: Workaround TitleSource not saved in xges

 pitivi/titleeditor.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/titleeditor.py b/pitivi/titleeditor.py
index cffb3cd..6e0a6ed 100644
--- a/pitivi/titleeditor.py
+++ b/pitivi/titleeditor.py
@@ -776,7 +776,8 @@ class TitleEditor(Loggable):
         self._deactivate()
         assert isinstance(source, GES.TextOverlay) or \
             isinstance(source, GES.TitleSource)
-        self.source = source
+        # TODO: Remove ".get_parent()" when bug 727880 is fixed.
+        self.source = source.get_parent()
         self._updateFromSource()
         self._activate()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]