mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
ComboTabBar: Fix drawing with correct selectedPosition
This commit is contained in:
parent
4e1a9079f3
commit
6525410e22
|
@ -1151,6 +1151,10 @@ void TabBarHelper::paintEvent(QPaintEvent* event)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!m_activeTabBar) {
|
||||
tab.selectedPosition = QStyleOptionTab::NotAdjacent;
|
||||
}
|
||||
|
||||
if (!(tab.state & QStyle::State_Enabled)) {
|
||||
tab.palette.setCurrentColorGroup(QPalette::Disabled);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user