← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 677: Reset the playhead to the start of the timeline when creating a new project.

 

------------------------------------------------------------
revno: 677
fixes bug: https://launchpad.net/bugs/1003515
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Wed 2012-05-23 22:05:29 +0100
message:
  Reset the playhead to the start of the timeline when creating a new project.
modified:
  openshot/windows/NewProject.py


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/windows/NewProject.py'
--- openshot/windows/NewProject.py	2012-03-20 21:42:43 +0000
+++ openshot/windows/NewProject.py	2012-05-23 21:05:29 +0000
@@ -231,6 +231,7 @@
 		# set the profile settings in the video thread
 		self.project.form.MyVideo.set_project(self.project, self.project.form, os.path.join(self.project.USER_DIR, "sequence.mlt"), mode="preview")
 		self.project.form.MyVideo.set_profile(localType, load_xml=True)
+		self.project.form.MyVideo.seek(0)
 
 		#start the autosave
 		self.project.form.setup_autosave()