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

pull/3402/head
Stenzek 7 months ago
parent 8e5531eaa2
commit a310d3a5e7
No known key found for this signature in database

@ -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();
}

Loading…
Cancel
Save