Clear moving flag for second-click-placed items

Fixes: lp:1830227
* https://bugs.launchpad.net/kicad/+bug/1830227
This commit is contained in:
Jon Evans 2019-05-23 21:51:07 -04:00
parent 3afea91088
commit ab3ada5200
1 changed files with 1 additions and 0 deletions

View File

@ -765,6 +765,7 @@ int SCH_DRAWING_TOOLS::doTwoClickPlace( KICAD_T aType )
// ... and second click places:
else
{
item->ClearFlags( IS_MOVED );
m_frame->AddItemToScreenAndUndoList( (SCH_ITEM*) item );
item = nullptr;