Fix really bad bug where KIIDs always get reset when reading files.

Mea culpa.

Fixes https://gitlab.com/kicad/code/kicad/issues/5106
This commit is contained in:
Jeff Young 2020-08-08 16:23:19 +01:00
parent 02bf5d27df
commit 484643c5ed
1 changed files with 3 additions and 1 deletions

View File

@ -345,7 +345,9 @@ public:
{
init();
m_board = aBoard;
m_resetKIIDs = true;
if( aBoard != nullptr )
m_resetKIIDs = true;
}
BOARD_ITEM* Parse();