瀏覽代碼

Merged jpcgt/flatcam/Beta into Beta

Marius Stanciu 6 年之前
父節點
當前提交
9da1defe3e
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      FlatCAMApp.py
  2. 1 1
      FlatCAMTranslation.py

+ 1 - 1
FlatCAMApp.py

@@ -3769,7 +3769,7 @@ class App(QtCore.QObject):
             response = msgbox.clickedButton()
 
             if response == bt_yes:
-                self.on_file_saveprojectas(thread=True, quit=True)
+                self.on_file_saveprojectas(use_thread=True, quit_action=True)
             elif response == bt_no:
                 self.quit_application()
             elif response == bt_cancel:

+ 1 - 1
FlatCAMTranslation.py

@@ -174,7 +174,7 @@ def restart_program(app):
         response = msgbox.clickedButton()
 
         if response == bt_yes:
-            app.on_file_saveprojectas(thread=True, quit=True)
+            app.on_file_saveprojectas(use_thread=True, quit_action=True)
 
     app.save_defaults()
     python = sys.executable