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:
parent
896ab6bac9
commit
9b6db07b9c
@ -1458,7 +1458,10 @@ void QupZilla::showPageInfo()
|
|||||||
void QupZilla::showBookmarksToolbar()
|
void QupZilla::showBookmarksToolbar()
|
||||||
{
|
{
|
||||||
bool status = m_bookmarksToolbar->isVisible();
|
bool status = m_bookmarksToolbar->isVisible();
|
||||||
|
|
||||||
|
setUpdatesEnabled(false);
|
||||||
m_bookmarksToolbar->setVisible(!status);
|
m_bookmarksToolbar->setVisible(!status);
|
||||||
|
setUpdatesEnabled(true);
|
||||||
|
|
||||||
Settings settings;
|
Settings settings;
|
||||||
settings.setValue("Browser-View-Settings/showBookmarksToolbar", !status);
|
settings.setValue("Browser-View-Settings/showBookmarksToolbar", !status);
|
||||||
|
Loading…
Reference in New Issue
Block a user