Skip to content

Commit

Permalink
Merge pull request #6095 from JosJuice/disable-eject-disc
Browse files Browse the repository at this point in the history
Disable "Eject Disc" when emulation is not running
  • Loading branch information
Helios747 committed Oct 3, 2017
2 parents 5a609d2 + e50fe00 commit 63b11be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/FrameTools.cpp
Expand Up @@ -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)));
Expand Down

0 comments on commit 63b11be

Please sign in to comment.