Permalink
Browse files

Merge pull request #7080 from spycrab/qt_noprop_elfdol

Qt/GameList: Don't show certain options when a DOL/ELF is selected.
  • Loading branch information...
leoetlino committed Jun 5, 2018
2 parents 7e45ff7 + 07b26f8 commit bfbd890caa07ac5ab96d474cc983b548491f1456
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 bfbd890

Please sign in to comment.