diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 0b9b8bf8..53a78d69 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6321,11 +6321,8 @@ void View::DrawZoneInfoWindow() } ImGui::TreePop(); } - } - if( ev.Child() >= 0 ) - { - bool expand = ImGui::TreeNode( "Time distribution" ); + expand = ImGui::TreeNode( "Time distribution" ); if( expand ) { ImGui::SameLine();