Workaround crash when clearing recents

This commit is contained in:
Henrik Rydgård
2024-10-25 21:31:57 +02:00
parent 8991329de4
commit f29dbbee29
+1
View File
@@ -1765,5 +1765,6 @@ UI::EventReturn GridSettingsPopupScreen::GridMinusClick(UI::EventParams &e) {
UI::EventReturn GridSettingsPopupScreen::OnRecentClearClick(UI::EventParams &e) {
g_Config.ClearRecentIsos();
OnRecentChanged.Trigger(e);
TriggerFinish(DR_OK);
return UI::EVENT_DONE;
}