[pitivi] Fix stepping by frame with left and right arrows.



commit 6876d145e6d0b42ad3db97d04ac1fd141b3ac4f2
Author: Alessandro Decina <alessandro d gmail com>
Date:   Thu Sep 10 19:32:32 2009 +0200

    Fix stepping by frame with left and right arrows.

 pitivi/ui/timeline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/timeline.py b/pitivi/ui/timeline.py
index bba29f5..037a43f 100644
--- a/pitivi/ui/timeline.py
+++ b/pitivi/ui/timeline.py
@@ -412,7 +412,7 @@ class Timeline(gtk.Table, Loggable, Zoomable):
     @handler(project, "settings-changed")
     def _settingsChangedCb(self, project):
         rate = self.project.getSettings().videorate
-        self.rate = float(1 / self.rate)
+        self.rate = float(1 / rate)
         self.ruler.setProjectFrameRate(rate)
 
 ## Timeline callbacks



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