Commit 6edae34a authored by Roberto Raggi's avatar Roberto Raggi
Browse files

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

parent 7774977e
...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment