forked from qt-creator/qt-creator
Fix issues with having same document open in multiple splits
Sometimes one split would not show the document even though it shows in the combo box. Task-number: QTCREATORBUG-9801 Task-number: QTCREATORBUG-9798 Change-Id: Iea79c6f3deb4f1570685794c6eb762f603a36b5f Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -1335,6 +1335,8 @@ Core::IEditor *EditorManager::activateEditor(Core::Internal::EditorView *view, C
|
|||||||
ICore::raiseWindow(editor->widget());
|
ICore::raiseWindow(editor->widget());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (!(flags & DoNotMakeVisible)) {
|
||||||
|
view->setCurrentEditor(editor);
|
||||||
}
|
}
|
||||||
return editor;
|
return editor;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user