Don't leave the cursor position forced.
Fixes https://gitlab.com/kicad/code/kicad/issues/7665
This commit is contained in:
parent
94bc373f30
commit
c0487e5c87
|
@ -780,6 +780,7 @@ int SCH_DRAWING_TOOLS::SingleClickPlace( const TOOL_EVENT& aEvent )
|
||||||
m_view->ClearPreview();
|
m_view->ClearPreview();
|
||||||
|
|
||||||
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
|
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
|
||||||
|
controls->ForceCursorPosition( false );
|
||||||
m_inSingleClickPlace = false;
|
m_inSingleClickPlace = false;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1134,6 +1135,7 @@ int SCH_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
|
||||||
}
|
}
|
||||||
|
|
||||||
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
|
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
|
||||||
|
controls->ForceCursorPosition( false );
|
||||||
m_inTwoClickPlace = false;
|
m_inTwoClickPlace = false;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue