From 0ddeba61ce0cc9af77c0f574cb6904c2d8244cdb Mon Sep 17 00:00:00 2001 From: bitscher Date: Sat, 3 Sep 2022 13:14:39 -0700 Subject: [PATCH] Fix "Favorite" checkbox state in Game list menu --- src/gui/components/wxGameList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/wxGameList.cpp b/src/gui/components/wxGameList.cpp index 073fe396..ea162693 100644 --- a/src/gui/components/wxGameList.cpp +++ b/src/gui/components/wxGameList.cpp @@ -476,7 +476,7 @@ void wxGameList::OnContextMenu(wxContextMenuEvent& event) menu.Append(kContextMenuStart, _("&Start")); - bool isFavorite = false; + bool isFavorite = GetConfig().IsGameListFavorite(title_id); menu.AppendSeparator(); menu.AppendCheckItem(kContextMenuFavorite, _("&Favorite"))->Check(isFavorite);