Mainwindow: 'save' call 'save_as' when study are never saved before.

This commit is contained in:
parouby committed 2025-03-12 10:49:04 +01:00
1 parent 487f5e9ac8
commit 607aed3f11
1 file changed
+4 -1
+4 -1
View File
@@ -268,7 +268,10 @@ class Ui_MainWindow(object):
)
def save(self):
UpdateTableForSave()
if stg.dirname_save_as:
UpdateTableForSave()
else:
self.save_as()
def open(self):
reader = ReadTableForOpen()