Always refresh the navigator when changing units

Units are displayed even if the net is not selected
This commit is contained in:
Seth Hillbrand 2024-04-18 18:20:43 -07:00
parent abd0388794
commit 1bc34f7bd7

View File

@ -2396,7 +2396,7 @@ void SCH_EDIT_FRAME::SetHighlightedConnection( const wxString& aConnection,
void SCH_EDIT_FRAME::unitsChangeRefresh() void SCH_EDIT_FRAME::unitsChangeRefresh()
{ {
if( m_netNavigator && !m_highlightedConn.IsEmpty() ) if( m_netNavigator )
{ {
NET_NAVIGATOR_ITEM_DATA itemData; NET_NAVIGATOR_ITEM_DATA itemData;
wxTreeItemId selection = m_netNavigator->GetSelection(); wxTreeItemId selection = m_netNavigator->GetSelection();