Fix re-entrancy issue in LibEdit move tool.

This commit is contained in:
Jeff Young 2019-08-15 15:51:27 +01:00
parent 8ba7d4570c
commit 29af26565d
1 changed files with 1 additions and 1 deletions

View File

@ -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();