From abda525b84b121deec80e6b20d47a95112e3422b Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Tue, 7 May 2019 14:59:14 +0200 Subject: [PATCH] ui: Fixed symbol definition shown instead of reference on undoing * fixes History Tests - State Tests - Code Reference --- src/lib/component/controller/CodeController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/component/controller/CodeController.cpp b/src/lib/component/controller/CodeController.cpp index c678bda7..2c30f528 100644 --- a/src/lib/component/controller/CodeController.cpp +++ b/src/lib/component/controller/CodeController.cpp @@ -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); }