mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
ignore case sensitivity on user input text replacement
This commit is contained in:
parent
47ee95ecd0
commit
f4cb1255c9
1 changed files with 3 additions and 3 deletions
|
|
@ -255,9 +255,9 @@ class FamilyWidget(QtWidgets.QWidget):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue