Don't try to start another move when one is in progress.

Fixes: lp:1842623
* https://bugs.launchpad.net/kicad/+bug/1842623
This commit is contained in:
Jeff Young 2019-09-05 00:03:19 +01:00
parent a5c8b5ed41
commit 66f0bd4f6a
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ int PL_EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
PL_SELECTION& selection = m_selectionTool->RequestSelection();
bool unselect = selection.IsHover();
if( selection.Empty() )
if( selection.Empty() || m_moveInProgress )
return 0;
std::string tool = aEvent.GetCommandStr().get();