Drop hover selection in Symbol Editor after edit action.

Fixes https://gitlab.com/kicad/code/kicad/issues/7234
This commit is contained in:
Jeff Young 2021-01-23 17:12:09 +00:00
parent d770284fa2
commit df2d0962c6
1 changed files with 4 additions and 1 deletions

View File

@ -445,7 +445,10 @@ int SYMBOL_EDITOR_EDIT_TOOL::Properties( const TOOL_EVENT& aEvent )
}
}
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
if( selection.IsHover() )
m_toolMgr->RunAction( EE_ACTIONS::clearSelection, true );
else
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
return 0;
}