diff --git a/CHANGES b/CHANGES index d0e8f6a57..ea5e69cfe 100644 --- a/CHANGES +++ b/CHANGES @@ -22,6 +22,7 @@ Misc: - 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: diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 5953c0ab3..9f989caa5 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -1124,7 +1124,7 @@ void Window::setupMenu(QMenuBar* menubar) { }, "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);