Fix crash activating quick key 1

deque
scrawl 11 years ago
parent 10758d6297
commit 07d20c212b

@ -247,7 +247,7 @@ namespace MWGui
void QuickKeysMenu::activateQuickKey(int index)
{
assert (index-1 > 0);
assert (index-1 >= 0);
ItemWidget* button = mQuickKeyButtons[index-1];
QuickKeyType type = mAssigned[index-1];

Loading…
Cancel
Save