Skip to content

Commit

Permalink
place text widget in right list
Browse files Browse the repository at this point in the history
  • Loading branch information
mind84 committed Sep 24, 2024
1 parent 8416128 commit 99aeb32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lizmap_server/tooltip.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ def create_popup_node_item_from_form(
a += h
continue
# If it is root children, store html in the right list
if isinstance(n, QgsAttributeEditorField):
if isinstance(n, QgsAttributeEditorField) or (isinstance(n, QgsAttributeEditorElement) and n.type() == 6):
# TODO QGIS_VERSION_INT 3.30.0 Change the integer with the QGIS enum `Qgis.AttributeEditorType.TextElement`
if not headers:
before_tabs.append(h)
else:
Expand Down

0 comments on commit 99aeb32

Please sign in to comment.