Qt: Disable Replace ROM option when no game loaded
Vicki Pfau vi@endrift.com
Wed, 19 Feb 2020 23:12:26 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -22,6 +22,7 @@ - FFmpeg: Add looping option for GIF/APNG
- Qt: Renderer can be changed while a game is running - Qt: Add hex index to palette view - Qt: Add transformation matrix info to sprite view + - Qt: Disable Replace ROM option when no game loaded 0.8.1: (2020-02-16) Emulation fixes:
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -1124,7 +1124,7 @@ setController(m_manager->loadBIOS(PLATFORM_GBA, m_config->getOption("gba.bios")), QString());
}, "file"); #endif - m_actions.addAction(tr("Replace ROM..."), "replaceROM", this, &Window::replaceROM, "file"); + addGameAction(tr("Replace ROM..."), "replaceROM", this, &Window::replaceROM, "file"); #ifdef M_CORE_GBA Action* scanCard = addGameAction(tr("Scan e-Reader dotcode..."), "scanCard", this, &Window::scanCard, "file"); m_platformActions.insert(PLATFORM_GBA, scanCard);