We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38ba84 commit e592c0bCopy full SHA for e592c0b
funscript_editor/ui/settings_dialog.py
@@ -105,9 +105,11 @@ def __save_settings(self):
105
self.__set_number_setting(key, settings[key])
106
else:
107
raise NotImplementedError(str(type(self.dialog_elements[key])) + " type is not implemented")
108
-
109
- with open(self.settings_file, "w") as f:
110
- json.dump(settings, f)
+ try:
+ with open(self.settings_file, "w") as f:
+ json.dump(settings, f)
111
+ except:
112
+ print("Save dialog settings FAILED")
113
114
115
def __setup_ui_bindings(self):
0 commit comments