diff --git a/src/xenia/app/emulator_window.cc b/src/xenia/app/emulator_window.cc index 409810f35..dc4c20cac 100644 --- a/src/xenia/app/emulator_window.cc +++ b/src/xenia/app/emulator_window.cc @@ -337,6 +337,8 @@ void EmulatorWindow::DisplayConfigDialog::OnDraw(ImGuiIO& io) { ImGui::End(); return; } + + ImGui::PopStyleVar(); // Even if the close button has been pressed, still paint everything not to // have one frame with an empty window. diff --git a/src/xenia/app/profile_dialogs.cc b/src/xenia/app/profile_dialogs.cc index d52d0bac1..2a211ed4c 100644 --- a/src/xenia/app/profile_dialogs.cc +++ b/src/xenia/app/profile_dialogs.cc @@ -111,6 +111,8 @@ void NoProfileDialog::OnDraw(ImGuiIO& io) { return; } + ImGui::PopStyleVar(); + const std::string message = "There is no profile available! You will not be able to save without " "one.\n\nWould you like to create one?"; @@ -180,6 +182,8 @@ void ProfileConfigDialog::OnDraw(ImGuiIO& io) { return; } + ImGui::PopStyleVar(); + if (profiles->empty()) { ImGui::TextUnformatted("No profiles found!"); ImGui::Spacing();