pcbnew: clear selection reference point when moving footprint by name

Fixes: lp:1722870
* https://bugs.launchpad.net/kicad/+bug/1722870
This commit is contained in:
Tomasz Włostowski 2017-10-19 23:57:21 +02:00
parent ac095b6724
commit 22063dc5a5
1 changed files with 2 additions and 1 deletions

View File

@ -1263,7 +1263,8 @@ void SELECTION_TOOL::clearSelection()
m_selection.Clear();
m_selection.SetIsHover( false );
m_selection.ClearReferencePoint();
m_frame->SetCurItem( NULL );
m_locked = true;