mirror of
https://invent.kde.org/network/falkon.git
synced 2024-09-21 17:52:10 +02: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());
|
button->setShowOnlyText(m_bookmarks->showOnlyTextInToolbar());
|
||||||
m_layout->addWidget(button);
|
m_layout->addWidget(button);
|
||||||
|
|
||||||
|
if (!m_fixedMinHeight) {
|
||||||
|
m_fixedMinHeight = true;
|
||||||
setMinimumHeight(minimumSizeHint().height());
|
setMinimumHeight(minimumSizeHint().height());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BookmarksToolbarButton* BookmarksToolbar::buttonAt(const QPoint &pos)
|
BookmarksToolbarButton* BookmarksToolbar::buttonAt(const QPoint &pos)
|
||||||
|
|
|
@ -65,6 +65,8 @@ private:
|
||||||
QTimer* m_updateTimer;
|
QTimer* m_updateTimer;
|
||||||
QAction* m_actShowOnlyIcons = nullptr;
|
QAction* m_actShowOnlyIcons = nullptr;
|
||||||
QAction* m_actShowOnlyText = nullptr;
|
QAction* m_actShowOnlyText = nullptr;
|
||||||
|
|
||||||
|
bool m_fixedMinHeight = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BOOKMARKSTOOLBAR_H
|
#endif // BOOKMARKSTOOLBAR_H
|
||||||
|
|
Loading…
Reference in New Issue
Block a user