[pitivi: 10/18] application: use the proper reference to the current project when quitting



commit 53e213338c6a2958aed5824ab92c99f586ed2aa4
Author: Thibault Saunier <thibault saunier collabora co uk>
Date:   Sun Mar 6 17:55:45 2011 +0100

    application: use the proper reference to the current project when quitting

 pitivi/application.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/application.py b/pitivi/application.py
index 9493e70..9e27115 100644
--- a/pitivi/application.py
+++ b/pitivi/application.py
@@ -160,7 +160,7 @@ class Pitivi(Loggable, Signallable):
         self.debug("shutting down")
         # we refuse to close if we're running a user interface and the user
         # doesn't want us to close the current project.
-        if self.projectManager.current and not self.projectManager.closeRunningProject():
+        if self.current and not self.projectManager.closeRunningProject():
             self.warning("Not closing since running project doesn't want to close")
             return False
         self.threads.stopAllThreads()



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