diff options
Diffstat (limited to 'sources/pyside6/libpyside/class_property.cpp')
-rw-r--r-- | sources/pyside6/libpyside/class_property.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside6/libpyside/class_property.cpp b/sources/pyside6/libpyside/class_property.cpp index edbb63769..35375d0f3 100644 --- a/sources/pyside6/libpyside/class_property.cpp +++ b/sources/pyside6/libpyside/class_property.cpp @@ -122,6 +122,7 @@ static int SbkObjectType_meta_setattro(PyObject *obj, PyObject *name, PyObject * // Use `_PepType_Lookup()` instead of `PyObject_GetAttr()` in order to get the raw // descriptor (`property`) instead of calling `tp_descr_get` (`property.__get__()`). auto type = reinterpret_cast<PyTypeObject *>(obj); + PySide::Feature::Select(type); PyObject *descr = _PepType_Lookup(type, name); // The following assignment combinations are possible: |