Browse Source

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

pull/16/head
Tomasz Wlostowski 6 years ago
parent
commit
ba8b058c98
  1. 2
      common/property_mgr.cpp

2
common/property_mgr.cpp

@ -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…
Cancel
Save