diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 8ec13d6a..987d7d73 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1114,7 +1114,7 @@ void SourceView::RenderSymbolView( const Worker& worker, View& view ) } iptotalSrc = iptotalAsm; } - if( iptotalAsm > 0 ) + if( iptotalAsm > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) ) { ImGui::SameLine(); ImGui::Spacing();