mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +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;
|
iptotalSrc = iptotalAsm;
|
||||||
}
|
}
|
||||||
if( iptotalAsm > 0 )
|
if( iptotalAsm > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
|
Loading…
Reference in New Issue
Block a user