Ensure annotations are displayed for default event on capture load

This commit is contained in:
baldurk
2026-01-23 14:05:01 +00:00
parent 070177c232
commit 73f441f6c3
+3 -1
View File
@@ -95,7 +95,9 @@ void AnnotationDisplay::RevealAnnotation(const rdcstr &keyPath)
void AnnotationDisplay::OnCaptureLoaded()
{
setAnnotationObject(NULL);
APIEvent ev = m_Ctx.GetEventBrowser()->GetAPIEventForEID(m_Ctx.CurSelectedEvent());
setAnnotationObject(ev.annotations);
}
void AnnotationDisplay::OnCaptureClosed()