mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
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:
parent
1e3aaa887d
commit
66ecc40a80
1 changed files with 3 additions and 1 deletions
|
|
@ -529,7 +529,9 @@ class InstanceCardWidget(CardWidget):
|
|||
for part in found_parts:
|
||||
replacement = "<b>{}</b>".format(part)
|
||||
label = label.replace(part, replacement)
|
||||
label += self.get_card_widget_sub_label(folder_name, task_name)
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue