mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-15 16:33:15 -03:00
Move ImGui::End() calls out of if(ImGui::Begin()) blocks. Quoting from ImGui::Begin's function comment in imgui.cpp: "You always need to call ImGui::End() even if false is returned." In practice this didn't cause problems because the windows don't have title bars and thus can't be collapsed, and so the block containing ::End would always run, but let's do it the right way.