Skip to content
Browse files

ui/timeline: disable updates while splitting.

This avoids creating a temporary transition while split() updates the
composition.
  • Loading branch information...
1 parent 496f214 commit feed379f9bdb40afa0f7f78708374cdc68d795cf @alessandrod alessandrod committed Sep 9, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 pitivi/ui/timeline.py
View
2 pitivi/ui/timeline.py
@@ -652,7 +652,9 @@ def groupSelected(self, unused_action):
def split(self, action):
self.app.action_log.begin("split")
+ self.timeline.disableUpdates()
self.timeline.split(self._position)
+ self.timeline.enableUpdates()
self.app.action_log.commit()
# work-around for 603149
self.project.seeker.seek(self._position)

0 comments on commit feed379

Please sign in to comment.
Something went wrong with that request. Please try again.