mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
automatically show annotation column if requested
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user