mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[ComboTabBar] Fixed drawing tabbar with only pinned tabs
Regression from e2dcf4d525affddf280ff1dfd36468a782fa3332
This commit is contained in:
parent
14923a728e
commit
fa091d77f2
@ -507,7 +507,7 @@ void ComboTabBar::setUpLayout()
|
||||
|
||||
setMinimumWidths();
|
||||
|
||||
if (isVisible()) {
|
||||
if (isVisible() && m_mainTabBar->count() > 0) {
|
||||
// ComboTabBar is now visible, we can sync heights of both tabbars
|
||||
m_pinnedTabBar->setFixedHeight(m_mainTabBar->height());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user