mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
remove the restriction on the last quick key
This commit is contained in:
parent
6161f81c24
commit
bc36b0e2bd
@ -67,9 +67,6 @@ namespace MWGui
|
|||||||
MyGUI::Button* button;
|
MyGUI::Button* button;
|
||||||
getWidget(button, "QuickKey" + boost::lexical_cast<std::string>(i+1));
|
getWidget(button, "QuickKey" + boost::lexical_cast<std::string>(i+1));
|
||||||
|
|
||||||
if (i != 9) // 10th quick key is always set to hand-to-hand
|
|
||||||
button->eventMouseButtonClick += MyGUI::newDelegate(this, &QuickKeysMenu::onQuickKeyButtonClicked);
|
|
||||||
|
|
||||||
unassign(button, i);
|
unassign(button, i);
|
||||||
|
|
||||||
mQuickKeyButtons.push_back(button);
|
mQuickKeyButtons.push_back(button);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user