[pitivi] titleeditor: Add created title to the current group



commit 32f92421a0468c54493012d836d8a0dc448bc99e
Author: Fabian Orccon <cfoch fabian gmail com>
Date:   Thu Dec 29 19:49:18 2016 +0000

    titleeditor: Add created title to the current group
    
    Fixes T7638
    
    Differential Revision: https://phabricator.freedesktop.org/D1576

 pitivi/titleeditor.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/titleeditor.py b/pitivi/titleeditor.py
index bee5d95..a4e536b 100644
--- a/pitivi/titleeditor.py
+++ b/pitivi/titleeditor.py
@@ -220,6 +220,8 @@ class TitleEditor(Loggable):
         assert source.set_child_property("halignment", DEFAULT_HALIGNMENT)
         # Select it so the Title editor becomes active.
         self._selection.setSelection([clip], SELECT)
+        self.app.gui.timeline_ui.timeline.resetSelectionGroup()
+        self.app.gui.timeline_ui.timeline.current_group.add(clip)
 
     def _propertyChangedCb(self, source, unused_gstelement, pspec):
         if self._setting_props:


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