mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge remote-tracking branch 'origin/feature/OP-1536_Flame-Create-publishable-clips' into feature/OP-1536_Flame-Create-publishable-clips
This commit is contained in:
commit
ced111f3fa
1 changed files with 2 additions and 2 deletions
|
|
@ -134,9 +134,9 @@ class CreatorWidget(QtWidgets.QDialog):
|
|||
'.+?(?:(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|$)', text)
|
||||
return " ".join([str(m.group(0)).capitalize() for m in matches])
|
||||
|
||||
def create_row(self, layout, type, text, **kwargs):
|
||||
def create_row(self, layout, type_name, text, **kwargs):
|
||||
# get type attribute from qwidgets
|
||||
attr = getattr(QtWidgets, type)
|
||||
attr = getattr(QtWidgets, type_name)
|
||||
|
||||
# convert label text to normal capitalized text with spaces
|
||||
label_text = self.camel_case_split(text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue