Unset forced cursor before leaving two-click place.

Fixes https://gitlab.com/kicad/code/kicad/issues/11607
This commit is contained in:
Jeff Young 2022-05-14 22:38:04 +01:00
parent 38e5faf21b
commit 79a0ce9137
1 changed files with 1 additions and 3 deletions

View File

@ -122,9 +122,6 @@ int SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
ignorePrimePosition = true;
}
// Set initial cursor
setCursor();
// Main loop: keep receiving events
while( TOOL_EVENT* evt = Wait() )
{
@ -294,6 +291,7 @@ int SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
controls->SetAutoPan( false );
controls->CaptureCursor( false );
controls->ForceCursorPosition( false );
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
return 0;
}