From d74f90b5119b872967f4042a9632559727440c6d Mon Sep 17 00:00:00 2001 From: Tobias Hunger <tobias.hunger@nokia.com> Date: Thu, 9 Dec 2010 16:37:37 +0100 Subject: [PATCH] Git: Bring iexisting editors to foreground If we have some git operation in an editor already: Bring that to the foreground. --- src/plugins/git/gitclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 09a3b504f0b..30f8ec892b1 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -431,7 +431,8 @@ VCSBase::VCSBaseEditor *GitClient::findExistingVCSEditor(const char *registerDyn if (!outputEditor) return 0; - // Exists already + // Exists already + Core::EditorManager::instance()->activateEditor(outputEditor, Core::EditorManager::ModeSwitch); outputEditor->createNew(m_msgWait); rc = VCSBase::VCSBaseEditor::getVcsBaseEditor(outputEditor); -- GitLab