From 05f9c74170fc67cae390f3d9531e9965e5f2811d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 27 Nov 2021 18:05:05 +0100 Subject: [PATCH] Don't include inlines when separate inlines are enabled. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index bad7df46..bd9bc6c2 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -13615,7 +13615,7 @@ void View::DrawSamplesStatistics(Vector& data, int64_t timeRange, Accum if( isKernel ) ImGui::PushStyleColor( ImGuiCol_Text, 0xFF8888FF ); const auto clicked = ImGui::Selectable( name, m_sampleParents.withInlines && m_sampleParents.symAddr == v.symAddr, ImGuiSelectableFlags_SpanAllColumns ); if( isKernel ) ImGui::PopStyleColor(); - if( clicked ) ShowSampleParents( v.symAddr, true ); + if( clicked ) ShowSampleParents( v.symAddr, !m_statSeparateInlines ); ImGui::PopID(); } if( parentName )