Update client/ayon_core/tools/publisher/widgets/card_view_widgets.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Juan M 2025-04-04 14:47:51 +01:00 committed by GitHub
parent b6296423f5
commit 08aee24a48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -529,9 +529,9 @@ class InstanceCardWidget(CardWidget):
for part in found_parts:
replacement = "<b>{}</b>".format(part)
label = label.replace(part, replacement)
sublabel = self._get_card_widget_sub_label(folder_path, task_name)
if sublabel:
label += f"<br/>{sublabel}"
sublabel = self._get_card_widget_sub_label(folder_path, task_name)
if sublabel:
label += f"<br/>{sublabel}"
self._label_widget.setText(label)
# HTML text will cause that label start catch mouse clicks