← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 708: Removing a clip using SHIFT + click was not adding the remove operation to the undo stack, so usi...

 

------------------------------------------------------------
revno: 708
fixes bug: https://launchpad.net/bugs/1048823
committer: Andy Finch <we.rocked.in79@xxxxxxxxx>
branch nick: openshot
timestamp: Mon 2012-09-10 22:28:19 +0100
message:
  Removing a clip using SHIFT + click was not adding the remove operation to the undo stack, so using Undo would not bring the clip back.
modified:
  openshot/classes/clip.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/classes/clip.py'
--- openshot/classes/clip.py	2012-09-10 02:31:55 +0000
+++ openshot/classes/clip.py	2012-09-10 21:28:19 +0000
@@ -1802,7 +1802,7 @@
 					self.parent.clips.remove(self)
 
 					# mark project as modified
-					self.parent.parent.project.set_project_modified(is_modified=True, refresh_xml=True)
+					self.parent.parent.project.set_project_modified(is_modified=True, refresh_xml=True, type = _("Removed clip"))
 
 				else:
 					# change the cursor for the drag n drop operation