diff options
author | mae <[email protected]> | 2009-02-04 19:10:36 +0100 |
---|---|---|
committer | mae <[email protected]> | 2009-02-04 19:10:36 +0100 |
commit | 522cf96b0ed4d14c592ecc2bf63cffd9e0cf81a6 (patch) | |
tree | 648d7d3188da58f6cf8ecd7089ea540b1d04fa1d /src/plugins/git/gitclient.cpp | |
parent | a318ac8d749be13e9a041d9ff1de48489d98b8aa (diff) |
activate diff editor after creating it
Diffstat (limited to 'src/plugins/git/gitclient.cpp')
-rw-r--r-- | src/plugins/git/gitclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 5f7225e36d6..007aac874de 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -169,7 +169,6 @@ VCSBase::VCSBaseEditor outputEditor->createNew(m_msgWait); rc = VCSBase::VCSBaseEditor::getVcsBaseEditor(outputEditor); QTC_ASSERT(rc, return 0); - m_core->editorManager()->activateEditor(outputEditor); } else { // Create new, set wait message, set up with source and codec outputEditor = m_core->editorManager()->newFile(kind, &title, m_msgWait); @@ -180,6 +179,7 @@ VCSBase::VCSBaseEditor if (setSourceCodec) rc->setCodec(VCSBase::VCSBaseEditor::getCodec(source)); } + m_core->editorManager()->activateEditor(outputEditor); return rc; } |