1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 22:23:52 +00:00

Pressing F1 again hides the quick keys menu.

This commit is contained in:
scrawl 2013-02-17 16:01:36 +01:00
parent d899f33444
commit 5a11ddc485

View file

@ -638,6 +638,8 @@ namespace MWInput
{
if (!mWindows.isGuiMode ())
mWindows.pushGuiMode (MWGui::GM_QuickKeysMenu);
else if (mWindows.getMode () == MWGui::GM_QuickKeysMenu)
mWindows.removeGuiMode (MWGui::GM_QuickKeysMenu);
}
void InputManager::activate()