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:
parent
a5c8b5ed41
commit
66f0bd4f6a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue