From 30a9a325492fd82dd87b7ea33da3ced1b48eae01 Mon Sep 17 00:00:00 2001 From: Dydzio Date: Tue, 19 Dec 2023 20:02:45 +0100 Subject: [PATCH] Do not trigger console via alt->tab --- client/adventureMap/CInGameConsole.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/adventureMap/CInGameConsole.cpp b/client/adventureMap/CInGameConsole.cpp index 555923631..f5235b976 100644 --- a/client/adventureMap/CInGameConsole.cpp +++ b/client/adventureMap/CInGameConsole.cpp @@ -151,6 +151,9 @@ void CInGameConsole::keyPressed (EShortcut key) break; case EShortcut::GAME_ACTIVATE_CONSOLE: + if(GH.isKeyboardAltDown()) + return; //QoL for alt-tab operating system shortcut + if(!enteredText.empty()) endEnteringText(false); else