From 5ff098b8fb9ff8865851d9b693c7e693a4f05c4d Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 29 Apr 2013 11:55:30 +0200 Subject: [PATCH] Fix quick keys being triggered when in UI mode --- apps/openmw/mwinput/inputmanagerimp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index 6a34161e0..882edadce 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -679,7 +679,8 @@ namespace MWInput void InputManager::quickKey (int index) { - mWindows.activateQuickKey (index); + if (!mWindows.isGuiMode()) + mWindows.activateQuickKey (index); } void InputManager::showQuickKeysMenu()