Send Selected event even if the result is an empty selection.

Fixes https://gitlab.com/kicad/code/kicad/issues/12849
This commit is contained in:
Jeff Young 2022-11-07 19:46:35 +00:00
parent 05336798ac
commit be8bbcaac3
1 changed files with 1 additions and 2 deletions

View File

@ -1183,7 +1183,6 @@ int PCB_SELECTION_TOOL::expandConnection( const TOOL_EVENT& aEvent )
m_frame->SetStatusText( wxEmptyString );
// Inform other potentially interested tools
if( m_selection.Size() > 0 )
m_toolMgr->ProcessEvent( EVENTS::SelectedEvent );
return 0;