forked from qt-creator/qt-creator
Make 'open in other split' a flag instead of another method.
Change-Id: I1acafd85ec7a87ba2ac61240f30c329d56461118 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -164,7 +164,8 @@ void CppToolsPlugin::switchHeaderSourceInNextSplit()
|
||||
QString otherFile = correspondingHeaderOrSource(
|
||||
Core::EditorManager::currentEditor()->document()->fileName());
|
||||
if (!otherFile.isEmpty())
|
||||
Core::EditorManager::openEditorInOtherSplit(otherFile);
|
||||
Core::EditorManager::openEditor(otherFile, Core::Id(), Core::EditorManager::OpenInOtherSplit
|
||||
| Core::EditorManager::ModeSwitch);
|
||||
}
|
||||
|
||||
static QStringList findFilesInProject(const QString &name,
|
||||
|
||||
Reference in New Issue
Block a user