Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Orange/widgets/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,11 @@ def pack_data(self, widget):
"""Call the inherited method, then add local contexts to the dict."""
data = super().pack_data(widget)
self.settings_from_widget(widget)
for context in widget.context_settings:
context_settings = [copy.copy(context) for context in
widget.context_settings]
for context in context_settings:
context.values[VERSION_KEY] = self.widget_class.settings_version
data["context_settings"] = widget.context_settings
data["context_settings"] = context_settings
return data

def update_defaults(self, widget):
Expand Down