Permalink
Browse files

Qt/GameList: Don't show certain options when a DOL/ELF is selected.

  • Loading branch information...
spycrab committed Jun 5, 2018
1 parent 8675fa0 commit 07b26f8bcaff8cf961e9839299c2a391bdc9b6ae
Showing with 8 additions and 3 deletions.
  1. +8 −3 Source/Core/DolphinQt2/GameList/GameList.cpp
@@ -170,9 +170,14 @@ void GameList::ShowContextMenu(const QPoint&)
QMenu* menu = new QMenu(this);
DiscIO::Platform platform = game->GetPlatform();
AddAction(menu, tr("&Properties"), this, &GameList::OpenProperties);
AddAction(menu, tr("&Wiki"), this, &GameList::OpenWiki);
menu->addSeparator();
if (platform != DiscIO::Platform::ELFOrDOL)
{
AddAction(menu, tr("&Properties"), this, &GameList::OpenProperties);
AddAction(menu, tr("&Wiki"), this, &GameList::OpenWiki);
menu->addSeparator();
}
if (platform == DiscIO::Platform::GameCubeDisc || platform == DiscIO::Platform::WiiDisc)
{

0 comments on commit 07b26f8

Please sign in to comment.