From 910ce8b8ef25d18ca21ca88bdee8be7990bd108d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 20 Mar 2018 20:18:23 +0100 Subject: [PATCH] Display number of matched source locations. --- server/TracyView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 2927d630..8eb87511 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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;