Skip to content

Commit

Permalink
Merge pull request #1398 from nikicc/fixups
Browse files Browse the repository at this point in the history
[FIX] SelectRows: Index attrs only by visible in set_data
  • Loading branch information
astaric authored Jul 1, 2016
2 parents be46877 + 477fb12 commit 08e7eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/data/owselectrows.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def set_data(self, data):
self.update_info(data, self.data_in_variables, "In: ")
for attr, cond_type, cond_value in self.conditions:
attrs = [a.name for a in
data.domain.variables + data.domain.metas]
filter_visible(chain(data.domain.variables, data.domain.metas))]
if attr in attrs:
self.add_row(attrs.index(attr), cond_type, cond_value)
self.unconditional_commit()
Expand Down

0 comments on commit 08e7eb9

Please sign in to comment.