Don't capture commands in the router eventloop that it doesn't process.

Fixes https://gitlab.com/kicad/code/kicad/issues/5692
This commit is contained in:
Jeff Young 2020-09-19 11:15:25 +01:00
parent 0763a8962c
commit ece2ae9805
1 changed files with 1 additions and 4 deletions

View File

@ -1007,11 +1007,8 @@ void ROUTER_TOOL::performRouting()
break;
}
else if( evt->IsKeyPressed() )
else
{
// wxWidgets fails to correctly translate shifted keycodes on the wxEVT_CHAR_HOOK
// event so we need to process the wxEVT_CHAR event that will follow as long as we
// pass the event.
evt->SetPassEvent();
}
}