pcbnew: Disable capture cursor in measure tool
When starting the measure tool, the cursor should not be captured until we begin the measurement. Fixes: lp:1806486 * https://bugs.launchpad.net/kicad/+bug/1806486
This commit is contained in:
parent
f9dfbe6f4d
commit
3d98c82217
|
@ -1225,6 +1225,7 @@ int EDIT_TOOL::MeasureTool( const TOOL_EVENT& aEvent )
|
|||
|
||||
controls.ShowCursor( true );
|
||||
controls.SetAutoPan( false );
|
||||
controls.CaptureCursor( false );
|
||||
|
||||
while( auto evt = Wait() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue