FullscreenUI: Fix load-and-resume-state HC popup

This commit is contained in:
Stenzek 2025-04-09 22:47:04 +10:00
parent 8e5531eaa2
commit a310d3a5e7
No known key found for this signature in database

View File

@ -1165,8 +1165,12 @@ void FullscreenUI::SwitchToMainWindow(MainWindowType type)
return;
s_state.current_main_window = type;
ImGui::SetWindowFocus(nullptr);
QueueResetFocus(FocusResetType::ViewChanged);
if (!AreAnyDialogsOpen())
{
ImGui::SetWindowFocus(nullptr);
QueueResetFocus(FocusResetType::ViewChanged);
}
UpdateRunIdleState();
FixStateIfPaused();
}