1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +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 ()) if (!mWindows.isGuiMode ())
mWindows.pushGuiMode (MWGui::GM_QuickKeysMenu); mWindows.pushGuiMode (MWGui::GM_QuickKeysMenu);
else if (mWindows.getMode () == MWGui::GM_QuickKeysMenu)
mWindows.removeGuiMode (MWGui::GM_QuickKeysMenu);
} }
void InputManager::activate() void InputManager::activate()