Fix accidental deletion in "TEXT_ATTRIBUTES" commit.

This commit is contained in:
Jeff Young 2023-01-03 01:23:02 +00:00
parent 7f35323416
commit fdc8f9c59d
1 changed files with 2 additions and 0 deletions

View File

@ -1695,6 +1695,8 @@ void SIM_MODEL::MigrateSimModel( T_symbol& aSymbol, const PROJECT* aProject )
spiceDeviceType, spiceModel, spiceLib );
}
spiceDeviceInfo.m_Text = SIM_MODEL::DeviceInfo( SIM_MODEL::DEVICE_T::SPICE ).fieldValue;
T_field deviceField = spiceDeviceInfo.CreateField( &aSymbol, SIM_MODEL::DEVICE_TYPE_FIELD );
aSymbol.AddField( deviceField );