ui: Fixed symbol definition shown instead of reference on undoing

* fixes History Tests - State Tests - Code Reference
This commit is contained in:
Eberhard Graether
2019-05-07 14:59:14 +02:00
parent bdb4c78399
commit abda525b84
@@ -287,6 +287,7 @@ void CodeController::handleMessage(MessageChangeFileView* message)
if (message->needsData && !message->filePath.empty())
{
view->scrollTo(CodeView::ScrollParams());
showCodeSnippets(getSnippetsForFileWithState(message->filePath, state), CodeView::CodeParams(), !message->showErrors);
}