diff --git a/View/mainwindow.py b/View/mainwindow.py index d6b7c38..209bc3c 100644 --- a/View/mainwindow.py +++ b/View/mainwindow.py @@ -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()