mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix red dot for FORCE_NOT_OPEN_WORKFILE_ROLE to be drawn on wrong location if app is not on first row
This commit is contained in:
parent
57dbd2827e
commit
58d3852f28
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ class ActionDelegate(QtWidgets.QStyledItemDelegate):
|
|||
|
||||
if index.data(FORCE_NOT_OPEN_WORKFILE_ROLE):
|
||||
rect = QtCore.QRectF(
|
||||
option.rect.x(), option.rect.height(), 5, 5)
|
||||
option.rect.x(), option.rect.y() + option.rect.height(), 5, 5)
|
||||
painter.setPen(QtCore.Qt.NoPen)
|
||||
painter.setBrush(QtGui.QColor(200, 0, 0))
|
||||
painter.drawEllipse(rect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue