summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2017-10-03 10:24:34 -0700
committerGitHub <noreply@github.com>2017-10-03 10:24:34 -0700
commit63b11be27af7434c3a1b360ba38f68da13036449 (patch)
tree3c24bd571a29bed8fc9bc94acb00848121071d7e /Source/Core/DolphinWX/FrameTools.cpp
parent5a609d22f6c2348ee5ab6d2b81fa0925e3266b22 (diff)
parente50fe00e932ed084e04921aaeba159eddd2125d3 (diff)
Merge pull request #6095 from JosJuice/disable-eject-disc
Disable "Eject Disc" when emulation is not running
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp
index 0db98e74ea..663da377f8 100644
--- a/Source/Core/DolphinWX/FrameTools.cpp
+++ b/Source/Core/DolphinWX/FrameTools.cpp
@@ -1600,6 +1600,7 @@ void CFrame::UpdateGUI()
GetMenuBar()->FindItem(IDM_SAVE_STATE)->Enable(Initialized);
// Misc
GetMenuBar()->FindItem(IDM_CHANGE_DISC)->Enable(Initialized);
+ GetMenuBar()->FindItem(IDM_EJECT_DISC)->Enable(Initialized);
GetMenuBar()
->FindItem(IDM_LOAD_GC_IPL_JAP)
->Enable(!Initialized && File::Exists(SConfig::GetInstance().GetBootROMPath(JAP_DIR)));