7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 15:29:18 +00:00

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

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;
}