Skip to content

Commit

Permalink
Fix issue that throws an error on cancelling save project.
Browse files Browse the repository at this point in the history
  • Loading branch information
krzywon committed Feb 2, 2021
1 parent 9c86053 commit a1596b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sas/qtgui/MainWindow/GuiManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,8 @@ def actionSave_Project(self):
Menu Save Project
"""
filename = self.filesWidget.saveProject()
if not filename:
return

# datasets
all_data = self.filesWidget.getSerializedData()
Expand Down

0 comments on commit a1596b1

Please sign in to comment.