Disable "Install WAD" while emulation is running

The "(Un)install to/from the NAND" options in the context menu for WAD files has always been disabled, don't know what happened to this one
This commit is contained in:
Naim2000 2023-08-11 17:46:51 -05:00
parent 370474a7cb
commit efd0c5b07e
1 changed files with 1 additions and 0 deletions

View File

@ -1021,6 +1021,7 @@ void MenuBar::UpdateToolsMenu(bool emulation_started)
m_ntscj_ipl->setEnabled(!emulation_started && File::Exists(Config::GetBootROMPath(JAP_DIR)));
m_ntscu_ipl->setEnabled(!emulation_started && File::Exists(Config::GetBootROMPath(USA_DIR)));
m_pal_ipl->setEnabled(!emulation_started && File::Exists(Config::GetBootROMPath(EUR_DIR)));
m_wad_install_action->setEnabled(!emulation_started);
m_import_backup->setEnabled(!emulation_started);
m_check_nand->setEnabled(!emulation_started);