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.
2 parents edd3a30 + 961d202 commit e843246Copy full SHA for e843246
Orange/widgets/settings.py
@@ -668,9 +668,11 @@ def pack_data(self, widget):
668
"""Call the inherited method, then add local contexts to the dict."""
669
data = super().pack_data(widget)
670
self.settings_from_widget(widget)
671
- for context in widget.context_settings:
+ context_settings = [copy.copy(context) for context in
672
+ widget.context_settings]
673
+ for context in context_settings:
674
context.values[VERSION_KEY] = self.widget_class.settings_version
- data["context_settings"] = widget.context_settings
675
+ data["context_settings"] = context_settings
676
return data
677
678
def update_defaults(self, widget):
0 commit comments