mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Fix missing limit range checkbox in source view.
This could happen if range was limited in such a way, that no sample was within the region.
This commit is contained in:
parent
0476e851ff
commit
fa8c99fd74
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user