Preserve separate memory tree state for each pool.

This commit is contained in:
Bartosz Taudul 2020-09-25 17:55:43 +02:00
parent 0fe65eb8a1
commit 4c3dce6712

View File

@ -15898,7 +15898,7 @@ void View::DrawMemory()
ImGui::TreePop(); ImGui::TreePop();
} }
ImGui::PushID( m_memInfo.pool );
ImGui::Separator(); ImGui::Separator();
if( ImGui::TreeNode( ICON_FA_ALIGN_JUSTIFY " Bottom-up call stack tree" ) ) if( ImGui::TreeNode( ICON_FA_ALIGN_JUSTIFY " Bottom-up call stack tree" ) )
{ {
@ -15958,6 +15958,7 @@ void View::DrawMemory()
ImGui::TreePop(); ImGui::TreePop();
} }
ImGui::PopID();
ImGui::EndChild(); ImGui::EndChild();
ImGui::End(); ImGui::End();