summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-10-03 17:20:36 +0200
committerJosJuice <josjuice@gmail.com>2017-10-03 17:20:36 +0200
commite50fe00e932ed084e04921aaeba159eddd2125d3 (patch)
tree3c24bd571a29bed8fc9bc94acb00848121071d7e /Source/Core/DolphinWX/FrameTools.cpp
parent5a609d22f6c2348ee5ab6d2b81fa0925e3266b22 (diff)
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)));