1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #3348 from dydzio0614/no-alttab-console

No alt-tab console
This commit is contained in:
Ivan Savenko
2023-12-20 16:29:23 +02:00
committed by GitHub

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