Do not relaunch the move tool when it is active

Fixes: lp:1678575
* https://bugs.launchpad.net/kicad/+bug/1678575
This commit is contained in:
Maciej Suminski 2017-11-28 10:42:36 +01:00
parent 9e6956c9ac
commit f36350cb88
1 changed files with 3 additions and 0 deletions

View File

@ -382,6 +382,9 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
bool unselect = selection.IsHover();
if( m_dragging )
return 0;
Activate();
m_dragging = false; // Are selected items being dragged?