Working on extracting the prefs UI code from the App class

This commit is contained in:
David Robertson
2020-04-29 01:49:34 +01:00
parent 89c384766a
commit 72c2dd5f26
7 changed files with 1107 additions and 1127 deletions

View File

@@ -207,6 +207,6 @@ def restart_program(app, ask=None):
if response == bt_yes:
app.on_file_saveprojectas(use_thread=True, quit_action=True)
app.save_defaults()
app.preferencesUiManager.save_defaults()
python = sys.executable
os.execl(python, python, *sys.argv)