Commit 0be57cb5 authored by Eike Ziller's avatar Eike Ziller
Browse files

CppEditor: Fix target of symbol drop-down

It was jumping to the symbol location in the active editor instead of
the editor for the combo box.

Task-number: QTCREATORBUG-11157
Change-Id: Ic261f2dd214c15ff41c8342a6ef72626b7db0f86
Reviewed-by: default avatarDavid Schulz <>
parent 946353b3
...@@ -1046,7 +1046,9 @@ void CPPEditorWidget::jumpToOutlineElement(int index) ...@@ -1046,7 +1046,9 @@ void CPPEditorWidget::jumpToOutlineElement(int index)
if (!symbol) if (!symbol)
return; return;
openCppEditorAt(linkToSymbol(symbol)); const Link &link = linkToSymbol(symbol);
gotoLine(link.targetLine, link.targetColumn);
} }
void CPPEditorWidget::setSortedOutline(bool sort) void CPPEditorWidget::setSortedOutline(bool sort)
Markdown is supported
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