Qt: keep game list data when toggling between list and grid layouts

There is no need to do a full hard refresh anymore.
This commit is contained in:
Megamouse 2023-04-26 22:51:57 +02:00
parent 1a07f40c4b
commit 96165cd21d

View file

@ -2515,7 +2515,7 @@ void game_list_frame::SetListMode(const bool& is_list)
m_gui_settings->SetValue(gui::gl_listMode, is_list);
Refresh(true);
Refresh();
m_central_widget->setCurrentWidget(m_is_list_layout ? m_game_list : m_game_grid);
}