Clear point editor on undo/redo.

Fixes https://gitlab.com/kicad/code/kicad/issues/6224
This commit is contained in:
Jeff Young 2020-10-29 22:38:16 +00:00
parent 3bd080b64e
commit 66d2cf172d
1 changed files with 7 additions and 0 deletions

View File

@ -536,8 +536,15 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
break;
}
else if( evt->Action() == TA_UNDO_REDO_POST )
{
break;
}
else
{
evt->SetPassEvent();
}
}
if( m_editPoints )