7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 22:31:40 +00:00

EEschema: Fix back annotation

Repairs back annotation after some schematic code modifications
This commit is contained in:
Alexander 2020-03-07 10:43:30 +03:00 committed by Alexander Shuklin
parent c7daca1e78
commit cf25975876

View File

@ -233,6 +233,8 @@ int BACK_ANNOTATE::checkForUnusedSymbols()
{
int errors = 0;
m_refs.SortByTimeStamp();
std::sort(
m_changelist.begin(), m_changelist.end(), []( CHANGELIST_ITEM a, CHANGELIST_ITEM b ) {
return SCH_REFERENCE_LIST::sortByTimeStamp( a.first, b.first );