mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
unified color source
This commit is contained in:
parent
382febe03f
commit
354ea1d581
1 changed files with 1 additions and 1 deletions
|
|
@ -1310,7 +1310,7 @@ class BaseItem:
|
|||
|
||||
if role == QtCore.Qt.ForegroundRole:
|
||||
if key == "name" and not self.is_valid:
|
||||
return QtGui.QColor(255, 0, 0)
|
||||
return ResourceCache.colors["warning"]
|
||||
return None
|
||||
|
||||
if role in (QtCore.Qt.DisplayRole, QtCore.Qt.EditRole):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue