From bcf846aa6083f249519837aec8b9bd1732574ec5 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Thu, 22 Oct 2009 20:25:32 +0000 Subject: * Fix g_editingField and g_waitingForKey in the ui to be properly cleared when you close all menus, preventing the cursor from being inappropriately hidden the next time you open one --- src/ui/ui_shared.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c index 6e046147..99f6ce32 100644 --- a/src/ui/ui_shared.c +++ b/src/ui/ui_shared.c @@ -1572,6 +1572,9 @@ void Menus_CloseAll( void ) // Close all other menus for( i = 0; i < menuCount; i++ ) Menus_Close( &Menus[ i ] ); + + g_editingField = qfalse; + g_waitingForKey = qfalse; } -- cgit