Skip to content
Permalink
Browse files

Fix issue on qwertz keyboard layouts where the first key input after …

…opening the console would be ignored

This seems like a hack, but I think it's the intended way to do this?
  • Loading branch information...
jacob1 committed Feb 21, 2019
1 parent 646935e commit 3fb134f8143d442d9db1d3596ab97115b7acbc1d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/game/GameView.cpp
@@ -1434,6 +1434,8 @@ void GameView::OnKeyPress(int key, int scan, bool repeat, bool shift, bool ctrl,
switch(scan)
{
case SDL_SCANCODE_GRAVE:
SDL_StopTextInput();
SDL_StartTextInput();
c->ShowConsole();
break;
case SDL_SCANCODE_SPACE: //Space

0 comments on commit 3fb134f

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.