Skip to content
Permalink
Browse files
Merge pull request #6030 from spycrab/qt_menu_reg
Qt: Fix Wii Disc options being disabled while core is running
  • Loading branch information
leoetlino committed Sep 7, 2017
2 parents 14bd0fb + 0b2b72b commit 336a185
Showing 1 changed file with 2 additions and 2 deletions.
@@ -185,10 +185,10 @@ void GameList::ShowContextMenu(const QPoint&)

if (platform == DiscIO::Platform::WII_DISC)
{
AddAction(menu, tr("Perform System Update"), this, [this] {
auto* perform_disc_update = AddAction(menu, tr("Perform System Update"), this, [this] {
WiiUpdate::PerformDiscUpdate(GetSelectedGame()->GetFilePath().toStdString(), this);
});
menu->setEnabled(!Core::IsRunning() || !SConfig::GetInstance().bWii);
perform_disc_update->setEnabled(!Core::IsRunning() || !SConfig::GetInstance().bWii);
}

if (platform == DiscIO::Platform::WII_WAD)

0 comments on commit 336a185

Please sign in to comment.