summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-06-09 21:04:39 +0200
committerdegasus <wickmarkus@web.de>2015-06-09 21:05:54 +0200
commit640b81a19fb3f083adb122568bde798867ddfac8 (patch)
tree8fb1616d2fdb67bf17c7cc21e617e3d33f1f1535 /Source/Core/DolphinWX/Frame.cpp
parente47e4c677ad22895f8c8bc78676dd295e36f2695 (diff)
Hotkeys: Fix "Select State Slot"
This was a copy&paste issue from dfc951fbbbc6021838f38da3d94396212a1bd60e. Fixes https://code.google.com/p/dolphin-emu/issues/detail?id=8645
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index e541ace507..b41cdbb461 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -1462,7 +1462,7 @@ void CFrame::ParseHotkeys()
if (IsHotkey(HK_SELECT_STATE_SLOT_1 + i))
{
wxCommandEvent slot_event;
- slot_event.SetId(i + IDM_SELECT_SLOT_1 - HK_SELECT_STATE_SLOT_1);
+ slot_event.SetId(IDM_SELECT_SLOT_1 + i);
CFrame::OnSelectSlot(slot_event);
}
}