diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp index 69f42c09d2..802a135bb8 100644 --- a/Source/Core/DolphinQt/MenuBar.cpp +++ b/Source/Core/DolphinQt/MenuBar.cpp @@ -296,8 +296,10 @@ void MenuBar::AddToolsMenu() tools_menu->addSeparator(); - tools_menu->addAction(tr("Import Wii Save..."), this, &MenuBar::ImportWiiSave); - tools_menu->addAction(tr("Export All Wii Saves"), this, &MenuBar::ExportWiiSaves); + m_import_wii_save = + tools_menu->addAction(tr("Import Wii Save..."), this, &MenuBar::ImportWiiSave); + m_export_wii_saves = + tools_menu->addAction(tr("Export All Wii Saves"), this, &MenuBar::ExportWiiSaves); QMenu* menu = new QMenu(tr("Connect Wii Remotes"), tools_menu); @@ -1021,8 +1023,11 @@ 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); + m_import_wii_save->setEnabled(!emulation_started); + m_export_wii_saves->setEnabled(!emulation_started); if (!emulation_started) { diff --git a/Source/Core/DolphinQt/MenuBar.h b/Source/Core/DolphinQt/MenuBar.h index 3830b22f34..322d33541c 100644 --- a/Source/Core/DolphinQt/MenuBar.h +++ b/Source/Core/DolphinQt/MenuBar.h @@ -213,6 +213,8 @@ private: QAction* m_check_nand; QAction* m_extract_certificates; std::array m_wii_remotes; + QAction* m_import_wii_save; + QAction* m_export_wii_saves; // Emulation QAction* m_play_action;