activate diff editor after creating it

This commit is contained in:
mae
2009-02-04 19:10:36 +01:00
parent a318ac8d74
commit 522cf96b0e

View File

@@ -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;
}