mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
Mainwindow: 'save' call 'save_as' when study are never saved before.
This commit is contained in:
1 parent
487f5e9ac8
commit
607aed3f11
1 file changed
+4
-1
+4
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user