File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ class OWSieveDiagram(OWWidget):
6868
6969 want_control_area = False
7070
71+ settings_version = 1
7172 settingsHandler = DomainContextHandler ()
7273 attr_x = ContextSetting (None , exclude_metas = False )
7374 attr_y = ContextSetting (None , exclude_metas = False )
@@ -119,6 +120,13 @@ def showEvent(self, event):
119120 super ().showEvent (event )
120121 self .update_graph ()
121122
123+ @classmethod
124+ def migrate_context (cls , settings , version ):
125+ if not version :
126+ settings .rename_setting ("attrX" , "attr_x" )
127+ settings .rename_setting ("attrY" , "attr_y" )
128+ settings .migrate_str_to_variable ()
129+
122130 def set_data (self , data ):
123131 """
124132 Discretize continuous attributes, and put all attributes and discrete
You can’t perform that action at this time.
0 commit comments