Skip to content

Commit

Permalink
Merge pull request #4632 from janezd/selectrows-context-copy-attrs
Browse files Browse the repository at this point in the history
SelectRowsContextHandler: Copy attributes before updating
  • Loading branch information
janezd authored Apr 8, 2020
2 parents 3f4c786 + 0ca9fb4 commit f23c906
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 @@ -78,7 +78,7 @@ def match(self, context, domain, attrs, metas):
return self.PERFECT_MATCH

conditions = context.values["conditions"]
all_vars = attrs
all_vars = attrs.copy()
all_vars.update(metas)
# Use this after 2022/2/2:
# if all(all_vars.get(name) == tpe for name, tpe, *_ in conditions):
Expand Down

0 comments on commit f23c906

Please sign in to comment.