Commit c0c8834d authored by sumpfralle's avatar sumpfralle

redraw the model after "reset_preferences"


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@290 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 769e8ef8
......@@ -1189,6 +1189,8 @@ class ProjectGui:
""" reset all preferences to their default values """
for key, value in PREFERENCES_DEFAULTS.items():
self.settings.set(key, value)
# redraw the model due to changed colors, display items ...
self.update_view()
def load_preferences(self):
""" load all settings that are available in the Preferences window from
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment