Internals: Renaming. Renamed ImGuiPopupRef to ImGuiPopupData for consistency and added constructor.

This commit is contained in:
omar
2019-04-28 17:05:23 +02:00
parent 3d363c91fd
commit 4e81b2d093
3 changed files with 17 additions and 14 deletions

View File

@ -5824,7 +5824,7 @@ void ImGui::EndMainMenuBar()
// When the user has left the menu layer (typically: closed menus through activation of an item), we restore focus to the previous window
ImGuiContext& g = *GImGui;
if (g.CurrentWindow == g.NavWindow && g.NavLayer == 0)
FocusPreviousWindowIgnoringOne(g.NavWindow);
FocusTopMostWindowIgnoringOne(g.NavWindow);
End();
}