Core: In dialog to add property only list types that can be instantiated

Fixes #15159: Dialog for adding properties allows property types that give exceptions
This commit is contained in:
wmayer
2024-07-04 15:54:19 +02:00
committed by wwmayer
parent f92c4e393d
commit de8f153ca3
4 changed files with 16 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ private:
TYPESYSTEM_SOURCE_ABSTRACT_P(_class_) \
void _class_::init(void) \
{ \
initSubclass(_class_::classTypeId, #_class_, #_parentclass_, &(_class_::create)); \
initSubclass(_class_::classTypeId, #_class_, #_parentclass_, nullptr); \
}
// NOLINTEND(cppcoreguidelines-macro-usage)