|
|
|
@ -748,7 +748,8 @@ namespace MWInput
|
|
|
|
|
|
|
|
|
|
void InputManager::showQuickKeysMenu()
|
|
|
|
|
{
|
|
|
|
|
if (!MWBase::Environment::get().getWindowManager()->isGuiMode ())
|
|
|
|
|
if (!MWBase::Environment::get().getWindowManager()->isGuiMode ()
|
|
|
|
|
&& MWBase::Environment::get().getWorld()->getGlobalFloat ("chargenstate")==-1)
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->pushGuiMode (MWGui::GM_QuickKeysMenu);
|
|
|
|
|
else if (MWBase::Environment::get().getWindowManager()->getMode () == MWGui::GM_QuickKeysMenu)
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->removeGuiMode (MWGui::GM_QuickKeysMenu);
|
|
|
|
|