forked from qt-creator/qt-creator
		
	separate EM::setCurrentEditor and EM::activateEditor
This commit is contained in:
		@@ -169,7 +169,7 @@ VCSBase::VCSBaseEditor
 | 
			
		||||
        outputEditor->createNew(m_msgWait);
 | 
			
		||||
        rc = VCSBase::VCSBaseEditor::getVcsBaseEditor(outputEditor);
 | 
			
		||||
        QTC_ASSERT(rc, return 0);
 | 
			
		||||
        m_core->editorManager()->setCurrentEditor(outputEditor);
 | 
			
		||||
        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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user