From ea11c446c2a93de8fc8c77f97d344e7584dccba7 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Sun, 16 Nov 2014 21:58:37 -0500 Subject: Make freelook hotkeys configurable. --- Source/Core/DolphinWX/FrameTools.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/FrameTools.cpp') 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); -- cgit v1.2.3