automatically show annotation column if requested

This commit is contained in:
Remi Palandri
2026-01-28 14:42:09 +00:00
committed by baldurk
parent 5c8a4f144b
commit 50a0d9c425
+4
View File
@@ -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()