[pitivi] clipproperties: Commit the timeline when removing an efect



commit 7183ea24005b06dfcfd3c31a44748d387b7ad730
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Sep 26 17:54:48 2014 +0200

    clipproperties: Commit the timeline when removing an efect
    
    + No need to flush the pipeline if we already commited (and now
    that the commit actually had the same effect)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739251

 pitivi/clipproperties.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index b3bb286..f7e1cac 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -343,6 +343,7 @@ class EffectProperties(Gtk.Expander, Loggable):
         self._removeEffectConfigurationWidget()
         self.effects_properties_manager.cleanCache(effect)
         effect.get_parent().remove(effect)
+        self.app.project_manager.current_project.timeline.commit()
         self.app.action_log.commit()
         self._updateTreeview()
 
@@ -363,7 +364,6 @@ class EffectProperties(Gtk.Expander, Loggable):
                     clip.set_top_effect_priority(effect, priority)
                 self.app.project_manager.current_project.timeline.commit()
                 self.app.action_log.commit()
-                self.app.project_manager.current_project.pipeline.flushSeek()
                 self.updateAll()
                 break
 


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