mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 12:11:42 +00:00
INSPECTABLE: minor bugfix
This commit is contained in:
parent
c897273f11
commit
d2c9ccd3fe
@ -95,7 +95,7 @@ public:
|
||||
PROPERTY_MANAGER& propMgr = PROPERTY_MANAGER::Instance();
|
||||
TYPE_ID thisType = TYPE_HASH( *this );
|
||||
void* object = propMgr.TypeCast( this, thisType, aProperty->OwnerHash() );
|
||||
return object ? aProperty->get<T>( object ) : wxAny();
|
||||
return object ? aProperty->get<T>( object ) : T();
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user