diff options
| author | Rachel Bryk <RachelBryk@gmail.com> | 2014-11-16 21:58:37 -0500 |
|---|---|---|
| committer | Rachel Bryk <RachelBryk@gmail.com> | 2014-11-16 22:00:56 -0500 |
| commit | ea11c446c2a93de8fc8c77f97d344e7584dccba7 (patch) | |
| tree | 679ae918ea09e21004f554627854da3f9d22c14a /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 5143adac0ebe30c862b18db000b7e6dccd770aaf (diff) | |
Make freelook hotkeys configurable.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index dc129c693e..22dbdc0e6d 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -1771,7 +1771,8 @@ void CFrame::UpdateGUI() { if (GetCmdForHotkey(i) == -1) continue; - GetMenuBar()->FindItem(GetCmdForHotkey(i))->SetItemLabel(GetMenuLabel(i)); + if (GetMenuBar()->FindItem(GetCmdForHotkey(i))) + GetMenuBar()->FindItem(GetCmdForHotkey(i))->SetItemLabel(GetMenuLabel(i)); } GetMenuBar()->FindItem(IDM_LOADSTATE)->Enable(Initialized); |
