FullscreenUI: Fix returning to window that was open

e.g. disc swap hotkey
pull/3589/head
Stenzek 6 days ago
parent b1cd5625f2
commit 2bc387fe33
No known key found for this signature in database

@ -698,7 +698,7 @@ void FullscreenUI::SwitchToMainWindow(MainWindowType type)
if (s_state.current_main_window == type)
return;
s_state.previous_main_window = s_state.current_main_window;
s_state.previous_main_window = (type == MainWindowType::None) ? MainWindowType::None : s_state.current_main_window;
s_state.current_main_window = type;
if (!AreAnyDialogsOpen())
{

Loading…
Cancel
Save