From 6edae34a54df4acc38c035aa516798a3e6ed805c Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Tue, 17 Feb 2009 12:24:19 +0100
Subject: [PATCH] Fixes: Flicker-free update of the editor toolbars (mac
 -only).

---
 src/plugins/coreplugin/editormanager/stackededitorgroup.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp b/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp
index cc759c6c7ff..7ad5d056fe5 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;
 }
 
-- 
GitLab