mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-13 13:18:43 +02:00
Do not trigger console via alt->tab
This commit is contained in:
parent
f40e711721
commit
30a9a32549
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user