From 4c3dce67124e4f274b51b9b371b37bab6cce2d1a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 25 Sep 2020 17:55:43 +0200 Subject: [PATCH] Preserve separate memory tree state for each pool. --- server/TracyView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a431e9e7..b8daba4b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -15898,7 +15898,7 @@ void View::DrawMemory() ImGui::TreePop(); } - + ImGui::PushID( m_memInfo.pool ); ImGui::Separator(); if( ImGui::TreeNode( ICON_FA_ALIGN_JUSTIFY " Bottom-up call stack tree" ) ) { @@ -15958,6 +15958,7 @@ void View::DrawMemory() ImGui::TreePop(); } + ImGui::PopID(); ImGui::EndChild(); ImGui::End();