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:47:51 +00:00
parent 05336798ac
commit be8bbcaac3
+1 -2
View File
@@ -1183,8 +1183,7 @@ 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 );
m_toolMgr->ProcessEvent( EVENTS::SelectedEvent );
return 0;
}