From 1a0f35ddab4bc6dc92719027ae4ecae7c1432fdf Mon Sep 17 00:00:00 2001 From: tatiana Date: Tue, 24 Nov 2009 18:21:28 +0000 Subject: [PATCH] ENH: Save as option when project simply exists --- invesalius/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/control.py b/invesalius/control.py index 108af89..ec916f3 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -119,7 +119,7 @@ class Controller(): def ShowDialogSaveProject(self, saveas=False): session = ses.Session() - if saveas: + if saveas or session.temp_item: proj = prj.Project() filepath = dialog.ShowSaveAsProjectDialog(proj.name) if filepath: -- libgit2 0.21.2