1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

[BookmarksToolbar] Fixed window flicker when showing toolbar

This commit is contained in:
nowrep 2014-02-12 11:26:02 +01:00
parent 896ab6bac9
commit 9b6db07b9c

View File

@ -1458,7 +1458,10 @@ void QupZilla::showPageInfo()
void QupZilla::showBookmarksToolbar()
{
bool status = m_bookmarksToolbar->isVisible();
setUpdatesEnabled(false);
m_bookmarksToolbar->setVisible(!status);
setUpdatesEnabled(true);
Settings settings;
settings.setValue("Browser-View-Settings/showBookmarksToolbar", !status);