1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-02 21:53:52 +00:00

Display number of matched source locations.

This commit is contained in:
Bartosz Taudul 2018-03-20 20:18:23 +01:00
parent 6e6addfa81
commit 910ce8b8ef

View File

@ -2751,7 +2751,10 @@ void View::DrawFindZone()
if( !m_findZone.match.empty() )
{
ImGui::Separator();
if( ImGui::TreeNode( "Matched source locations" ) )
bool expand = ImGui::TreeNode( "Matched source locations" );
ImGui::SameLine();
ImGui::TextDisabled( "(%zu)", m_findZone.match.size() );
if( expand )
{
auto prev = m_findZone.selMatch;
int idx = 0;