1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 22:45:33 +00:00

remove the restriction on the last quick key

This commit is contained in:
scrawl 2012-08-27 20:51:13 +02:00
parent 6161f81c24
commit bc36b0e2bd

View file

@ -67,9 +67,6 @@ namespace MWGui
MyGUI::Button* button;
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);
mQuickKeyButtons.push_back(button);