diff --git a/qrenderdoc/Windows/EventBrowser.cpp b/qrenderdoc/Windows/EventBrowser.cpp index 3df3bf03d..bf826b11a 100644 --- a/qrenderdoc/Windows/EventBrowser.cpp +++ b/qrenderdoc/Windows/EventBrowser.cpp @@ -3749,6 +3749,10 @@ void EventBrowser::SetAnnotationColumnVisible(bool show) void EventBrowser::SetHighlightedAnnotation(const rdcstr &annotationPath) { m_Model->SetAnnotationPath(annotationPath); + + // automatically show the annotation column if it's hidden + if(!annotationPath.isEmpty() && ui->events->header()->isSectionHidden(COL_ANNOTATION)) + SetAnnotationColumnVisible(true); } void EventBrowser::OnCaptureLoaded()