Fix fullscreen switch being triggered twice on hotkey. Should fix issue #4098.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7171 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0ae8d33149
commit
ae4c8c81ac
|
@ -886,8 +886,7 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
|||
if (IsHotkey(event, HK_FULLSCREEN))
|
||||
DoFullscreen(!RendererIsFullscreen());
|
||||
// Send Debugger keys to CodeWindow
|
||||
//else
|
||||
if (g_pCodeWindow && (event.GetKeyCode() >= WXK_F9 && event.GetKeyCode() <= WXK_F11))
|
||||
else if (g_pCodeWindow && (event.GetKeyCode() >= WXK_F9 && event.GetKeyCode() <= WXK_F11))
|
||||
event.Skip();
|
||||
// Pause and Unpause
|
||||
else if (IsHotkey(event, HK_PLAY_PAUSE))
|
||||
|
|
Loading…
Reference in New Issue