mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
keep selected color unchanged even if view loose focus
This commit is contained in:
parent
8c0a9add2d
commit
aadd769ef4
1 changed files with 5 additions and 2 deletions
|
|
@ -412,12 +412,15 @@ QHeaderView::section {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed {
|
QAbstractItemView::item:pressed {
|
||||||
background: #78879b;
|
background: #78879b;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active {
|
QAbstractItemView::item:selected:active {
|
||||||
|
background: #3d8ec9;
|
||||||
|
}
|
||||||
|
QAbstractItemView::item:selected:!active {
|
||||||
background: #3d8ec9;
|
background: #3d8ec9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue