Commit 1a0f35ddab4bc6dc92719027ae4ecae7c1432fdf

Authored by tatiana
1 parent 8d1711c0

ENH: Save as option when project simply exists

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/control.py
... ... @@ -119,7 +119,7 @@ class Controller():
119 119  
120 120 def ShowDialogSaveProject(self, saveas=False):
121 121 session = ses.Session()
122   - if saveas:
  122 + if saveas or session.temp_item:
123 123 proj = prj.Project()
124 124 filepath = dialog.ShowSaveAsProjectDialog(proj.name)
125 125 if filepath:
... ...