mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Bookmarks ToolBar refresh fix (#2594)
This commit is contained in:
parent
a77ea28ac7
commit
d9638d41be
|
@ -214,7 +214,10 @@ void BookmarksToolbar::addItem(BookmarkItem* item)
|
|||
button->setShowOnlyText(m_bookmarks->showOnlyTextInToolbar());
|
||||
m_layout->addWidget(button);
|
||||
|
||||
setMinimumHeight(minimumSizeHint().height());
|
||||
if (!m_fixedMinHeight) {
|
||||
m_fixedMinHeight = true;
|
||||
setMinimumHeight(minimumSizeHint().height());
|
||||
}
|
||||
}
|
||||
|
||||
BookmarksToolbarButton* BookmarksToolbar::buttonAt(const QPoint &pos)
|
||||
|
|
|
@ -65,6 +65,8 @@ private:
|
|||
QTimer* m_updateTimer;
|
||||
QAction* m_actShowOnlyIcons = nullptr;
|
||||
QAction* m_actShowOnlyText = nullptr;
|
||||
|
||||
bool m_fixedMinHeight = false;
|
||||
};
|
||||
|
||||
#endif // BOOKMARKSTOOLBAR_H
|
||||
|
|
Loading…
Reference in New Issue
Block a user