Merge pull request #2579 from degasus/hotkeys

Hotkeys: Fix "Select State Slot"
This commit is contained in:
flacs 2015-06-09 23:56:23 +02:00
commit d4cf06c922
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}