diff --git a/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp b/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp index cc759c6c7ff8a3a49bf1ef8d1635786094666bdb..7ad5d056fe55e2496b2b46cf20bca175d2345027 100644 --- a/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp +++ b/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp @@ -329,8 +329,8 @@ void StackedEditorGroup::updateToolBar(IEditor *editor) toolBar = m_defaultToolBar; if (m_activeToolBar == toolBar) return; - toolBar->setVisible(true); m_activeToolBar->setVisible(false); + toolBar->setVisible(true); m_activeToolBar = toolBar; }