Qt: Fix crash opening game settings

This commit is contained in:
Connor McLaughlin
2022-07-23 01:49:53 +10:00
parent 7c2f335228
commit 0ba623b392
3 changed files with 8 additions and 2 deletions

View File

@ -535,6 +535,12 @@ void MainWindow::onSystemResumed()
void MainWindow::onSystemDestroyed()
{
// update UI
{
QSignalBlocker sb(m_ui.actionPause);
m_ui.actionPause->setChecked(true);
}
s_system_valid = false;
s_system_paused = false;
updateEmulationActions(false, false, Achievements::ChallengeModeActive());