mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
'0' order is not resolved as N/A
This commit is contained in:
parent
cf6cf0bf14
commit
f2232f0af1
1 changed files with 5 additions and 1 deletions
|
|
@ -441,10 +441,14 @@ class PluginDetailsWidget(QtWidgets.QWidget):
|
|||
time_label = get_pretty_milliseconds(plugin_item.process_time)
|
||||
elif plugin_item.skipped:
|
||||
time_label = "Skipped plugin"
|
||||
order = plugin_item.order
|
||||
if order is None:
|
||||
order = "N/A"
|
||||
|
||||
plugin_label_widget.setText(plugin_label)
|
||||
plugin_doc_widget.setText(plugin_item.docstring or "N/A")
|
||||
plugin_class_widget.setText(plugin_item.name or "N/A")
|
||||
plugin_order_widget.setText(str(plugin_item.order or "N/A"))
|
||||
plugin_order_widget.setText(order)
|
||||
plugin_families_widget.setText(str(plugin_item.families or "N/A"))
|
||||
plugin_path_widget.setText(plugin_item.filepath or "N/A")
|
||||
plugin_path_widget.setToolTip(plugin_item.filepath or None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue