From 628614c6ea8e5485da049f106088a5f2459586cc Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 2 Mar 2020 15:49:51 +0100 Subject: [PATCH] Demo: Remove unnecessary code added by 24bd33ac. --- imgui_demo.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index c219f207..591d6d99 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -288,27 +288,6 @@ void ImGui::ShowDemoWindow(bool* p_open) // Menu Bar if (ImGui::BeginMenuBar()) { - if (ImGui::BeginMenu("Foo")) - { - if (ImGui::BeginMenu("AAA")) - { - ImGui::EndMenu(); - } - if (ImGui::BeginMenu("BBB")) - { - ImGui::EndMenu(); - } - if (ImGui::BeginMenu("AAA")) - { - ImGui::EndMenu(); - } - if (ImGui::BeginMenu("BBB")) - { - ImGui::EndMenu(); - } - ImGui::EndMenu(); - } - if (ImGui::BeginMenu("Menu")) { ShowExampleMenuFile();