Commit 71fe3435 authored by mae's avatar mae
Browse files

when jumping to methods in the same file, stay in the same editor (split corner case)

parent 3b030572
......@@ -977,5 +977,14 @@ bool CPPEditor::openEditorAt(Symbol *s)
if (s->isGenerated())
column = 0;
if (baseTextDocument()->fileName() == fileName) {
Core::EditorManager *editorManager = Core::EditorManager::instance();
gotoLine(line, column);
return true;
return openCppEditorAt(fileName, line, column);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment