Clear point editor on undo/redo.
Fixes https://gitlab.com/kicad/code/kicad/issues/6224
This commit is contained in:
parent
3bd080b64e
commit
66d2cf172d
|
@ -536,9 +536,16 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
|
|||
break;
|
||||
}
|
||||
|
||||
else if( evt->Action() == TA_UNDO_REDO_POST )
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
evt->SetPassEvent();
|
||||
}
|
||||
}
|
||||
|
||||
if( m_editPoints )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue