Editor: make sure to update marker on annotation change

Ensures an update for the markers editor widget after any of the
information displayed in the annotation has changed

Change-Id: I845e05f5103ee1615cfc3d7760cdfc2bbf510f32
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2022-03-11 13:20:57 +01:00
parent 851171f772
commit a8cad01887
5 changed files with 10 additions and 5 deletions

View File

@@ -392,7 +392,6 @@ void ClangDiagnosticManager::invalidateDiagnostics()
for (ClangTextMark *textMark : m_clangTextMarks) {
textMark->setColor(::Utils::Theme::Color::IconsDisabledColor);
textMark->updateIcon(/*valid=*/ false);
textMark->updateMarker();
}
}