[pitivi] Overwrite the project file when saving from the unsaved changes dialog.



commit 913e870302911ebdcf73bbb36af75f9fce59f4ac
Author: Alessandro Decina <alessandro d gmail com>
Date:   Fri Jun 12 17:29:51 2009 +0200

    Overwrite the project file when saving from the unsaved changes dialog.

 pitivi/ui/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 910d159..9f5da42 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -718,7 +718,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
         response = dialog.run()
         dialog.destroy()
         if response == gtk.RESPONSE_YES:
-            res = self.app.projectManager.saveProject(project)
+            res = self.app.projectManager.saveProject(project, overwrite=True)
         elif response == gtk.RESPONSE_REJECT:
             res = True
         else:



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