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:
parent
0763a8962c
commit
ece2ae9805
|
@ -1007,11 +1007,8 @@ void ROUTER_TOOL::performRouting()
|
||||||
|
|
||||||
break;
|
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();
|
evt->SetPassEvent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue