Merge pull request #3982 from JosJuice/how-did-this-even-compile

DolphinWX: Fix a mix-up
This commit is contained in:
Pierre Bourdon 2016-07-06 18:46:05 +02:00 committed by GitHub
commit 3f03e2d5fe
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ void CGameListCtrl::OnRightClick(wxMouseEvent& event)
popupMenu.AppendCheckItem(IDM_SET_DEFAULT_ISO, _("Set as &default ISO"));
// First we have to decide a starting value when we append it
if (platform == SConfig::GetInstance().m_strDefaultISO)
if (selected_iso->GetFileName() == SConfig::GetInstance().m_strDefaultISO)
popupMenu.FindItem(IDM_SET_DEFAULT_ISO)->Check();
popupMenu.AppendSeparator();