[themes][ui] Fix color for selected tree widget items, when they are also disabled for dark themes

This commit is contained in:
Malik Blesius 2025-09-26 15:46:56 +02:00 committed by Mathieu Pellerin
parent f580afd7a6
commit e233e48826
2 changed files with 10 additions and 0 deletions

View File

@ -988,6 +988,11 @@ QTreeView::item:selected, QTreeView::branch:selected {
color: @text;
}
QTreeView::item:selected:disabled, QTreeView::branch:selected:disabled {
background-color: @itemalternativebackground;
color: @background;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
border-image: none;

View File

@ -1019,6 +1019,11 @@ QTreeView::item:selected, QTreeView::branch:selected {
color: @textlight;
}
QTreeView::item:selected:disabled, QTreeView::branch:selected:disabled {
background-color: @itemdarkbackground;
color: @background;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
border-image: none;