summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-07-06 18:46:05 +0200
committerGitHub <noreply@github.com>2016-07-06 18:46:05 +0200
commit3f03e2d5fe27f762f362b2a5010f778b26ed0ce6 (patch)
treedcc971dbdb369caf9904741f18ee83e10786e08f /Source/Core
parentf3e459091b837612af3a58f935734e7e68fa5090 (diff)
parent3b7c614124a9501a1e1ee9f081fb3f76f495a967 (diff)
Merge pull request #3982 from JosJuice/how-did-this-even-compile
DolphinWX: Fix a mix-up
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/GameListCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp
index db2eede260..9a16a610c8 100644
--- a/Source/Core/DolphinWX/GameListCtrl.cpp
+++ b/Source/Core/DolphinWX/GameListCtrl.cpp
@@ -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();