Skip to content

Commit 9252715

Browse files
Write node for builders that not require layout but can do container_layout.
1 parent bffb67f commit 9252715

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pygubu/builder/uidefinition.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,7 @@ def widget_to_xmlnode(self, wmeta):
343343

344344
# Container layout properties
345345
container_layout_required = (
346-
layout_required
347-
and (wmeta.container_properties or wmeta.gridrc_properties)
346+
wmeta.container_properties or wmeta.gridrc_properties
348347
)
349348
if container_layout_required:
350349
# create layout node

0 commit comments

Comments
 (0)