ui: Fixed symbol definition shown instead of reference on undoing
* fixes History Tests - State Tests - Code Reference
This commit is contained in:
@@ -287,6 +287,7 @@ void CodeController::handleMessage(MessageChangeFileView* message)
|
|||||||
|
|
||||||
if (message->needsData && !message->filePath.empty())
|
if (message->needsData && !message->filePath.empty())
|
||||||
{
|
{
|
||||||
|
view->scrollTo(CodeView::ScrollParams());
|
||||||
showCodeSnippets(getSnippetsForFileWithState(message->filePath, state), CodeView::CodeParams(), !message->showErrors);
|
showCodeSnippets(getSnippetsForFileWithState(message->filePath, state), CodeView::CodeParams(), !message->showErrors);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user