mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-24 18:23:52 +00:00
[Client] Use correct index when unassigning quickkeys from WindowManager
This commit is contained in:
parent
77952440f6
commit
94a9292cc6
1 changed files with 1 additions and 1 deletions
|
@ -1575,7 +1575,7 @@ namespace MWGui
|
||||||
switch (quickKeyType)
|
switch (quickKeyType)
|
||||||
{
|
{
|
||||||
case QuickKeysMenu::Type_Unassigned:
|
case QuickKeysMenu::Type_Unassigned:
|
||||||
mQuickKeysMenu->unassignIndex(slot);
|
mQuickKeysMenu->unassignIndex(slot - 1);
|
||||||
break;
|
break;
|
||||||
case QuickKeysMenu::Type_Item:
|
case QuickKeysMenu::Type_Item:
|
||||||
mQuickKeysMenu->onAssignItem(item);
|
mQuickKeysMenu->onAssignItem(item);
|
||||||
|
|
Loading…
Reference in a new issue