From 50a0d9c425c20339dee69d6cb41bc9ae6e93c0d2 Mon Sep 17 00:00:00 2001 From: Remi Palandri Date: Tue, 13 Jan 2026 15:15:49 +0100 Subject: [PATCH] automatically show annotation column if requested --- qrenderdoc/Windows/EventBrowser.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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()