From ad3f37aec6eb4559ac468795988285f4b9f4e63d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 24 Jan 2020 02:16:29 +0100 Subject: [PATCH] No need for two same check. --- server/TracyView.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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();