Browse Source

Fix merge issue on master.

omar 6 years ago
parent
commit
ca953f0fee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      imgui.cpp

+ 1 - 1
imgui.cpp

@@ -7374,7 +7374,7 @@ static void ImGui::NavUpdate()
         {
         {
             // Close open popup/menu
             // Close open popup/menu
             if (!(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal))
             if (!(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal))
-                ClosePopupToLevel(g.OpenPopupStack.Size - 1);
+                ClosePopupToLevel(g.OpenPopupStack.Size - 1, true);
         }
         }
         else if (g.NavLayer != 0)
         else if (g.NavLayer != 0)
         {
         {