logic: Show error updates during custom command indexing

* fixed code view showing all locations when switching view mode while showing errors
This commit is contained in:
Eberhard Graether
2018-12-17 00:27:16 +01:00
parent dd4a880ec3
commit 797bf2fee5
6 changed files with 35 additions and 10 deletions
@@ -286,7 +286,7 @@ void CodeController::handleMessage(MessageChangeFileView* message)
if (message->needsData && !message->filePath.empty())
{
showCodeSnippets(getSnippetsForFileWithState(message->filePath, state), CodeView::CodeParams());
showCodeSnippets(getSnippetsForFileWithState(message->filePath, state), CodeView::CodeParams(), !message->showErrors);
}
view->setFileState(message->filePath, state);