mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-02 06:06:41 +00:00
Pressing F1 again hides the quick keys menu.
This commit is contained in:
parent
d899f33444
commit
5a11ddc485
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue