Fixed occasional crashes on undo/redo while dragging.
This commit is contained in:
parent
024bf9dd84
commit
14687a45a7
|
@ -111,6 +111,12 @@ int EDIT_TOOL::Main( TOOL_EVENT& aEvent )
|
||||||
break; // Finish
|
break; // Finish
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if( evt->Action() == TA_UNDO_REDO )
|
||||||
|
{
|
||||||
|
unselect = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// Dispatch TOOL_ACTIONs
|
// Dispatch TOOL_ACTIONs
|
||||||
else if( evt->Category() == TC_COMMAND )
|
else if( evt->Category() == TC_COMMAND )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue