Working on extracting the prefs UI code from the App class
This commit is contained in:
@@ -50,4 +50,4 @@ class TclCommandSaveSys(TclCommandSignaled):
|
||||
:return: None or exception
|
||||
"""
|
||||
|
||||
self.app.save_defaults(args)
|
||||
self.app.preferencesUiManager.save_defaults(args)
|
||||
@@ -83,8 +83,7 @@ class TclCommandSetSys(TclCommand):
|
||||
pass
|
||||
|
||||
self.app.defaults[param] = value
|
||||
|
||||
self.app.propagate_defaults(silent=True)
|
||||
self.app.defaults.propagate_defaults()
|
||||
|
||||
else:
|
||||
self.raise_tcl_error("No such system parameter \"{}\".".format(param))
|
||||
|
||||
Reference in New Issue
Block a user