mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
formatting fixes
This commit is contained in:
parent
68d9fc16ad
commit
12d25d805c
1 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,6 @@ if typing.TYPE_CHECKING:
|
|||
current: Optional[str]
|
||||
selected: Optional[str]
|
||||
|
||||
|
||||
class ExpectedSelectionData(TypedDict):
|
||||
project: ExpectedProjectSelectionData
|
||||
|
||||
|
|
@ -554,7 +553,9 @@ class ProjectsDelegate(QtWidgets.QStyledItemDelegate):
|
|||
cg = QtGui.QPalette.Normal
|
||||
|
||||
if opt.state & QtWidgets.QStyle.State_Selected:
|
||||
painter.setPen(opt.palette.color(cg, QtGui.QPalette.HighlightedText))
|
||||
painter.setPen(
|
||||
opt.palette.color(cg, QtGui.QPalette.HighlightedText)
|
||||
)
|
||||
else:
|
||||
painter.setPen(opt.palette.color(cg, QtGui.QPalette.Text))
|
||||
|
||||
|
|
@ -941,4 +942,3 @@ class ProjectsWidget(QtWidgets.QWidget):
|
|||
def _on_projects_refresh_finished(self, event):
|
||||
if event["sender"] != PROJECTS_MODEL_SENDER:
|
||||
self._projects_model.refresh()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue