summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppeditoroutline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppeditoroutline.cpp')
-rw-r--r--src/plugins/cpptools/cppeditoroutline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppeditoroutline.cpp b/src/plugins/cpptools/cppeditoroutline.cpp
index a5192f4441..8bd16ac98b 100644
--- a/src/plugins/cpptools/cppeditoroutline.cpp
+++ b/src/plugins/cpptools/cppeditoroutline.cpp
@@ -252,7 +252,7 @@ void CppEditorOutline::gotoSymbolInEditor()
Core::EditorManager::cutForwardNavigationHistory();
Core::EditorManager::addCurrentPositionToNavigationHistory();
- m_editorWidget->gotoLine(link.targetLine, link.targetColumn);
+ m_editorWidget->gotoLine(link.targetLine, link.targetColumn, true, true);
m_editorWidget->activateEditor();
}