Use comma to separate diff pair nets/netclassse rather than /.
("/" is problematic because it's more likely to appear in netnames.)
Fixes https://gitlab.com/kicad/code/kicad/issues/12592
(cherry picked from commit 6fd195c389
)
This commit is contained in:
parent
47547713de
commit
da520f83ee
|
@ -2156,7 +2156,7 @@ void ROUTER_TOOL::UpdateMessagePanel()
|
||||||
wxASSERT( netB );
|
wxASSERT( netB );
|
||||||
|
|
||||||
description = wxString::Format( _( "Routing Diff Pair: %s" ),
|
description = wxString::Format( _( "Routing Diff Pair: %s" ),
|
||||||
netA->GetNetname() + wxT( "/" ) + netB->GetNetname() );
|
netA->GetNetname() + wxT( ", " ) + netB->GetNetname() );
|
||||||
|
|
||||||
wxString netclass;
|
wxString netclass;
|
||||||
NETCLASS* netclassA = netA->GetNetClass();
|
NETCLASS* netclassA = netA->GetNetClass();
|
||||||
|
@ -2165,7 +2165,7 @@ void ROUTER_TOOL::UpdateMessagePanel()
|
||||||
if( netclassA == netclassB )
|
if( netclassA == netclassB )
|
||||||
netclass = netclassA->GetName();
|
netclass = netclassA->GetName();
|
||||||
else
|
else
|
||||||
netclass = netclassA->GetName() + wxT( "/" ) + netclassB->GetName();
|
netclass = netclassA->GetName() + wxT( ", " ) + netclassB->GetName();
|
||||||
|
|
||||||
secondary = wxString::Format( _( "Net Class: %s" ),
|
secondary = wxString::Format( _( "Net Class: %s" ),
|
||||||
UnescapeString( netclass ) );
|
UnescapeString( netclass ) );
|
||||||
|
|
Loading…
Reference in New Issue