Fixed occasional crashes on undo/redo while dragging.

This commit is contained in:
Maciej Suminski 2014-04-04 12:56:50 +02:00
parent 024bf9dd84
commit 14687a45a7
1 changed files with 6 additions and 0 deletions

View File

@ -111,6 +111,12 @@ int EDIT_TOOL::Main( TOOL_EVENT& aEvent )
break; // Finish
}
else if( evt->Action() == TA_UNDO_REDO )
{
unselect = true;
break;
}
// Dispatch TOOL_ACTIONs
else if( evt->Category() == TC_COMMAND )
{