mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix color of loaded version
This commit is contained in:
parent
47fafbdc05
commit
403442b281
1 changed files with 3 additions and 1 deletions
|
|
@ -217,7 +217,9 @@ class InventoryModel(QtGui.QStandardItemModel):
|
|||
version_label = format_version(version_item.version)
|
||||
is_hero = version_item.version < 0
|
||||
is_latest = version_item.is_latest
|
||||
if not is_latest:
|
||||
# TODO maybe use different colors for last approved and last
|
||||
# version? Or don't care about color at all?
|
||||
if not is_latest and not version_item.is_last_approved:
|
||||
version_color = self.OUTDATED_COLOR
|
||||
status_name = version_item.status
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue