Skip to content
Snippets Groups Projects
Commit 6edae34a authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixes: Flicker-free update of the editor toolbars (mac -only).

parent 7774977e
No related branches found
No related tags found
No related merge requests found
...@@ -329,8 +329,8 @@ void StackedEditorGroup::updateToolBar(IEditor *editor) ...@@ -329,8 +329,8 @@ void StackedEditorGroup::updateToolBar(IEditor *editor)
toolBar = m_defaultToolBar; toolBar = m_defaultToolBar;
if (m_activeToolBar == toolBar) if (m_activeToolBar == toolBar)
return; return;
toolBar->setVisible(true);
m_activeToolBar->setVisible(false); m_activeToolBar->setVisible(false);
toolBar->setVisible(true);
m_activeToolBar = toolBar; m_activeToolBar = toolBar;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment