diff options
| author | flacs <tilkax@gmail.com> | 2015-06-09 23:56:23 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-06-09 23:56:23 +0200 |
| commit | d4cf06c922596ded50af04555c68c95a9b9a0d41 (patch) | |
| tree | 09b744c7b196530ad078562fd97706cb70e11ff3 /Source/Core/DolphinWX/Frame.cpp | |
| parent | 97e3c5302d2d7122bc01ae790875b75a20d82c6b (diff) | |
| parent | 640b81a19fb3f083adb122568bde798867ddfac8 (diff) | |
Merge pull request #2579 from degasus/hotkeys
Hotkeys: Fix "Select State Slot"
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); } } |
