diff options
| author | degasus <wickmarkus@web.de> | 2015-06-09 21:04:39 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-06-09 21:05:54 +0200 |
| commit | 640b81a19fb3f083adb122568bde798867ddfac8 (patch) | |
| tree | 8fb1616d2fdb67bf17c7cc21e617e3d33f1f1535 /Source/Core/DolphinWX/Frame.cpp | |
| parent | e47e4c677ad22895f8c8bc78676dd295e36f2695 (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.cpp | 2 |
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); } } |
