Don't leave the cursor position forced.

Fixes https://gitlab.com/kicad/code/kicad/issues/7665
This commit is contained in:
Jeff Young 2021-02-23 21:27:15 +00:00
parent 94bc373f30
commit c0487e5c87
1 changed files with 2 additions and 0 deletions

View File

@ -780,6 +780,7 @@ int SCH_DRAWING_TOOLS::SingleClickPlace( const TOOL_EVENT& aEvent )
m_view->ClearPreview();
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
controls->ForceCursorPosition( false );
m_inSingleClickPlace = false;
return 0;
}
@ -1134,6 +1135,7 @@ int SCH_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
}
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
controls->ForceCursorPosition( false );
m_inTwoClickPlace = false;
return 0;
}