mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix deprecated font color in standalone publisher
This commit is contained in:
parent
8a0005e93d
commit
001f096f4e
1 changed files with 2 additions and 2 deletions
|
|
@ -201,8 +201,8 @@ class AssetModel(TreeModel):
|
|||
return
|
||||
|
||||
if role == QtCore.Qt.ForegroundRole: # font color
|
||||
# if "deprecated" in node.get("tags", []):
|
||||
return QtGui.QColor(self._deprecated_asset_font_color)
|
||||
if "deprecated" in node.get("tags", []):
|
||||
return QtGui.QColor(self._deprecated_asset_font_color)
|
||||
|
||||
if role == self.ObjectIdRole:
|
||||
return node.get("_id", None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue