summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MenuBar.cpp
diff options
context:
space:
mode:
authorNaim2000 <naimarnohero@gmail.com>2023-08-11 17:46:51 -0500
committerNaim2000 <naimarnohero@gmail.com>2023-12-15 10:14:44 -0500
commitefd0c5b07e01de2aa29ae80fbcfcd7dae5d679f7 (patch)
tree17854b26e842613096c22a3ef981d50d343a7536 /Source/Core/DolphinQt/MenuBar.cpp
parent370474a7cbec12c9647b155f9d7cc4409c438df8 (diff)
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
Diffstat (limited to 'Source/Core/DolphinQt/MenuBar.cpp')
-rw-r--r--Source/Core/DolphinQt/MenuBar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp
index 69f42c09d2..b809304737 100644
--- a/Source/Core/DolphinQt/MenuBar.cpp
+++ b/Source/Core/DolphinQt/MenuBar.cpp
@@ -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);