Reverse sort order for net id in inspector

This commit is contained in:
dsa-t 2021-12-11 23:12:47 +00:00 committed by Seth Hillbrand
parent 758ce43d9c
commit f2639e2928
1 changed files with 2 additions and 1 deletions

View File

@ -676,7 +676,8 @@ protected:
if( aCol == COLUMN_NET && i1.GetNetCode() != i2.GetNetCode() ) if( aCol == COLUMN_NET && i1.GetNetCode() != i2.GetNetCode() )
{ {
return aAsc ? ( i2.GetNetCode() - i1.GetNetCode() ) : ( i1.GetNetCode() - i2.GetNetCode() ); return aAsc ? ( i1.GetNetCode() - i2.GetNetCode() )
: ( i2.GetNetCode() - i1.GetNetCode() );
} }
else if( aCol == COLUMN_NAME ) else if( aCol == COLUMN_NAME )
{ {