Fix kwarg names in calls to on_file_saveprojectas: thread -> use_thread, quit -> quit_action
This commit is contained in:
parent
8becb4b506
commit
84aba5da34
|
@ -3667,7 +3667,7 @@ class App(QtCore.QObject):
|
||||||
response = msgbox.clickedButton()
|
response = msgbox.clickedButton()
|
||||||
|
|
||||||
if response == bt_yes:
|
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:
|
elif response == bt_no:
|
||||||
self.quit_application()
|
self.quit_application()
|
||||||
elif response == bt_cancel:
|
elif response == bt_cancel:
|
||||||
|
|
|
@ -174,7 +174,7 @@ def restart_program(app):
|
||||||
response = msgbox.clickedButton()
|
response = msgbox.clickedButton()
|
||||||
|
|
||||||
if response == bt_yes:
|
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()
|
app.save_defaults()
|
||||||
python = sys.executable
|
python = sys.executable
|
||||||
|
|
Loading…
Reference in New Issue