Fix re-entrancy issue in LibEdit move tool.
This commit is contained in:
parent
8ba7d4570c
commit
29af26565d
|
@ -79,7 +79,7 @@ int LIB_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
|||
EE_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