7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 10:51:41 +00:00

Fix typo that broke simulation field extraction

This commit is contained in:
Jon Evans 2025-02-24 19:12:44 -05:00
parent 8f40feedbb
commit f928b6b7e0

View File

@ -418,7 +418,7 @@ inline wxString GetFieldValue( const std::vector<SCH_FIELD>* aFields, FIELD_T aF
inline std::string GetFieldValue( const std::vector<SCH_FIELD>* aFields,
const wxString& aFieldName, bool aResolve = false )
{
if( aFields )
if( !aFields )
return "";
if( const SCH_FIELD* field = FindField( *aFields, aFieldName ) )