diff --git a/pcbnew/tools/pcb_selection_tool.cpp b/pcbnew/tools/pcb_selection_tool.cpp index d943ab5ec7..7d45407a48 100644 --- a/pcbnew/tools/pcb_selection_tool.cpp +++ b/pcbnew/tools/pcb_selection_tool.cpp @@ -1554,6 +1554,13 @@ int PCB_SELECTION_TOOL::selectNet( const TOOL_EVENT& aEvent ) if( netcode > 0 ) { SelectAllItemsOnNet( netcode, select ); + + // Inform other potentially interested tools + if( m_selection.Size() > 0 ) + m_toolMgr->ProcessEvent( EVENTS::SelectedEvent ); + else + m_toolMgr->ProcessEvent( EVENTS::UnselectedEvent ); + return 0; } @@ -1574,6 +1581,8 @@ int PCB_SELECTION_TOOL::selectNet( const TOOL_EVENT& aEvent ) // Inform other potentially interested tools if( m_selection.Size() > 0 ) m_toolMgr->ProcessEvent( EVENTS::SelectedEvent ); + else + m_toolMgr->ProcessEvent( EVENTS::UnselectedEvent ); return 0; }