summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-09-06 12:38:07 +0200
committerJosJuice <josjuice@gmail.com>2015-09-06 13:33:23 +0200
commit4716c8ecf65c87cf4fd2e71dfcb00a4e15ff80fd (patch)
tree0eb714a5811f75d243cc0b0e6355fe11f8868287 /Source
parentcb3b1b6f445276b8f0a0ccbfafbff04b30b719f7 (diff)
DolphinWX: Little simplification for game right-click menu
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/GameListCtrl.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp
index 248daeb09c..00f1be1e1b 100644
--- a/Source/Core/DolphinWX/GameListCtrl.cpp
+++ b/Source/Core/DolphinWX/GameListCtrl.cpp
@@ -875,17 +875,14 @@ void CGameListCtrl::OnRightClick(wxMouseEvent& event)
else if (selected_iso->GetFileName().substr(selected_iso->GetFileName().find_last_of(".")) != ".ciso" &&
selected_iso->GetFileName().substr(selected_iso->GetFileName().find_last_of(".")) != ".wbfs")
popupMenu.Append(IDM_COMPRESS_ISO, _("Compress ISO..."));
- }
- if (platform == DiscIO::IVolume::WII_WAD)
- {
- popupMenu.Append(IDM_LIST_INSTALL_WAD, _("Install to Wii Menu"));
- }
- if (platform == DiscIO::IVolume::GAMECUBE_DISC || platform == DiscIO::IVolume::WII_DISC)
- {
+
wxMenuItem* changeDiscItem = popupMenu.Append(IDM_LIST_CHANGE_DISC, _("Change &Disc"));
changeDiscItem->Enable(Core::IsRunning());
}
+ if (platform == DiscIO::IVolume::WII_WAD)
+ popupMenu.Append(IDM_LIST_INSTALL_WAD, _("Install to Wii Menu"));
+
PopupMenu(&popupMenu);
}
}