Merge pull request #1503 from pypeclub/bugfix/3.0_existing_subsets_hints

Existing subsets hints in creator
This commit is contained in:
Milan Kolar 2021-05-12 16:32:52 +02:00 committed by GitHub
commit fd482d3bb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -255,9 +255,9 @@ class FamilyWidget(QtWidgets.QWidget):
defaults = list(plugin.defaults) defaults = list(plugin.defaults)
# Replace # Replace
compare_regex = re.compile( compare_regex = re.compile(re.sub(
subset_name.replace(user_input_text, "(.+)") user_input_text, "(.+)", subset_name, flags=re.IGNORECASE
) ))
subset_hints = set() subset_hints = set()
if user_input_text: if user_input_text:
for _name in existing_subset_names: for _name in existing_subset_names: