added any_parent_is_group to RawJson

This commit is contained in:
iLLiCiTiT 2020-09-01 09:45:51 +02:00
parent 008204f7d9
commit 2e1dbec431

View file

@ -942,6 +942,12 @@ class RawJsonWidget(QtWidgets.QWidget, InputObject):
self._parent = parent
self._as_widget = values is AS_WIDGET
any_parent_is_group = parent.is_group
if not any_parent_is_group:
any_parent_is_group = parent.any_parent_is_group
self.any_parent_is_group = any_parent_is_group
self._is_group = input_data.get("is_group", False)
self.default_value = input_data.get("default", NOT_SET)