Qt: don't refresh game grid after emu stop

It is not necessary to refresh the game grid after stopping a game.
This commit is contained in:
Megamouse 2023-05-17 22:59:09 +02:00
parent 24dde5d42b
commit e83540d80c
1 changed files with 1 additions and 1 deletions

View File

@ -1842,7 +1842,7 @@ void main_window::OnEmuStop()
ui->confCamerasAct->setEnabled(true); ui->confCamerasAct->setEnabled(true);
// Refresh game list in order to update time played // Refresh game list in order to update time played
if (m_game_list_frame) if (m_game_list_frame && m_is_list_mode)
{ {
m_game_list_frame->Refresh(); m_game_list_frame->Refresh();
} }