Permalink
Browse files

Qt: Disable 'uninstall' action if title is not installed

  • Loading branch information...
leoetlino committed May 6, 2018
1 parent c3d88a6 commit 7dcab20bfa64236fd005beb7e985b090429bf303
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Core/DolphinQt2/GameList/GameList.cpp
@@ -210,6 +210,8 @@ void GameList::ShowContextMenu(const QPoint&)
a->setEnabled(!Core::IsRunning());
menu->addAction(a);
}
if (!Core::IsRunning())
wad_uninstall_action->setEnabled(WiiUtils::IsTitleInstalled(game->GetTitleID()));
connect(&Settings::Instance(), &Settings::EmulationStateChanged, menu, [=](Core::State state) {
wad_install_action->setEnabled(state == Core::State::Uninitialized);

0 comments on commit 7dcab20

Please sign in to comment.