Skip to content

Commit

Permalink
Better RegularExpressionValidatorClass.Invalid used
Browse files Browse the repository at this point in the history
  • Loading branch information
kalisp committed Nov 21, 2024
1 parent 0c57779 commit 962df74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ayon_core/tools/creator/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def __init__(self):

def validate(self, text, pos):
results = super(ProductNameValidator, self).validate(text, pos)
if results[0] == self.invalid:
if results[0] == RegularExpressionValidatorClass.Invalid:
self.invalid.emit(self.invalid_chars(text))
return results

Expand Down

0 comments on commit 962df74

Please sign in to comment.