PROPERTY_MANAGER: don't be case-sensitive with property names

This commit is contained in:
Tomasz Wlostowski 2020-06-05 00:22:59 +02:00
parent c1d5394e46
commit ba8b058c98
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ PROPERTY_BASE* PROPERTY_MANAGER::GetProperty( TYPE_ID aType, const wxString& aPr
for( const auto& property : classDesc.m_allProperties ) for( const auto& property : classDesc.m_allProperties )
{ {
if( property->Name() == aProperty ) if( !aProperty.CmpNoCase( property->Name() ) )
return property; return property;
} }