Closed markotoplak closed 6 months ago
Partial solution to #706.
This does not fix crashes that appear if the user chose a class variable in the boxes (I tried by coloring Iris data in Spectra), because attributes and classes are handled in a package.
That would have to be fixed by making a new context handler.
Some contexts match even though feature-selection combo boxes do not show the feature. Problematic settings are those where combo boxes are limited to specific parts of the table (attributes, class_vars, or metas).
This partial solution follows from https://github.com/biolab/orange3/issues/6721#issuecomment-1923826563. This does not solve the problem completely, but if problem appears, adding a new widget instance allows the user to continue.
Also, there is another minor issue: exclude_attributes won't allow users to reuse contexts where class vars were used in the fields (current implementation handles attributes and class vars in the same way), but saving and loading works properly (because of perfect matches).