1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Do not trigger console via alt->tab

This commit is contained in:
Dydzio 2023-12-19 20:02:45 +01:00
parent f40e711721
commit 30a9a32549

View File

@ -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