No need for two same check.

This commit is contained in:
Bartosz Taudul 2020-01-24 02:16:29 +01:00
parent cf07e2564d
commit ad3f37aec6

View File

@ -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();