PROPERTY_MANAGER: don't be case-sensitive with property names
This commit is contained in:
parent
c1d5394e46
commit
ba8b058c98
|
@ -56,7 +56,7 @@ PROPERTY_BASE* PROPERTY_MANAGER::GetProperty( TYPE_ID aType, const wxString& aPr
|
|||
|
||||
for( const auto& property : classDesc.m_allProperties )
|
||||
{
|
||||
if( property->Name() == aProperty )
|
||||
if( !aProperty.CmpNoCase( property->Name() ) )
|
||||
return property;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue