Special case sheet ordering in file.

This commit is contained in:
Jeff Young 2021-11-02 23:13:30 +00:00
parent 7cf72aaa41
commit e4b61de792
1 changed files with 3 additions and 0 deletions

View File

@ -770,6 +770,9 @@ void SCH_SEXPR_PLUGIN::Format( SCH_SHEET* aSheet )
if( a->Type() != b->Type() )
return a->Type() < b->Type();
if( a->Type() == SCH_SHEET_T )
return *a < *b;
return a->m_Uuid < b->m_Uuid;
};