mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Do not trigger console via alt->tab
This commit is contained in:
@ -151,6 +151,9 @@ void CInGameConsole::keyPressed (EShortcut key)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case EShortcut::GAME_ACTIVATE_CONSOLE:
|
case EShortcut::GAME_ACTIVATE_CONSOLE:
|
||||||
|
if(GH.isKeyboardAltDown())
|
||||||
|
return; //QoL for alt-tab operating system shortcut
|
||||||
|
|
||||||
if(!enteredText.empty())
|
if(!enteredText.empty())
|
||||||
endEnteringText(false);
|
endEnteringText(false);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user