Add missing merge conflict fixes from cherry picking 402c139957
.
This commit is contained in:
parent
e2d8d53a10
commit
70d7bc2099
|
@ -808,7 +808,7 @@ static bool highlightNet( TOOL_MANAGER* aToolMgr, const VECTOR2D& aPosition )
|
|||
|
||||
wxString connectionName = ( conn ) ? conn->Name() : wxString( wxS( "" ) );
|
||||
|
||||
if( !conn || connectionName == editFrame->GetHighlightedConnection() )
|
||||
if( !conn )
|
||||
{
|
||||
editFrame->SetStatusText( wxT( "" ) );
|
||||
editFrame->SendCrossProbeClearHighlight();
|
||||
|
@ -817,9 +817,16 @@ static bool highlightNet( TOOL_MANAGER* aToolMgr, const VECTOR2D& aPosition )
|
|||
}
|
||||
else
|
||||
{
|
||||
if( connectionName != editFrame->GetHighlightedConnection() )
|
||||
{
|
||||
editorControl->SetHighlightBusMembers( false );
|
||||
editFrame->SetCrossProbeConnection( conn );
|
||||
editFrame->SetHighlightedConnection( connectionName );
|
||||
editorControl->SetHighlightBusMembers( false );
|
||||
}
|
||||
else
|
||||
{
|
||||
editorControl->SetHighlightBusMembers( !editorControl->GetHighlightBusMembers() );
|
||||
}
|
||||
}
|
||||
|
||||
editFrame->UpdateNetHighlightStatus();
|
||||
|
|
Loading…
Reference in New Issue