Skip to content

Commit

Permalink
Merge pull request #1503 from pypeclub/bugfix/3.0_existing_subsets_hints
Browse files Browse the repository at this point in the history
Existing subsets hints in creator
  • Loading branch information
mkolar committed May 12, 2021
2 parents 28234f5 + f4cb125 commit fd482d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openpype/tools/standalonepublish/widgets/widget_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ def _on_data_changed(self):
defaults = list(plugin.defaults)

# Replace
compare_regex = re.compile(
subset_name.replace(user_input_text, "(.+)")
)
compare_regex = re.compile(re.sub(
user_input_text, "(.+)", subset_name, flags=re.IGNORECASE
))
subset_hints = set()
if user_input_text:
for _name in existing_subset_names:
Expand Down

0 comments on commit fd482d3

Please sign in to comment.