Skip to content

Commit

Permalink
Merge pull request #605 from mind84/text_widget_positioning
Browse files Browse the repository at this point in the history
Place text widget in right list
  • Loading branch information
Gustry authored Sep 24, 2024
2 parents d8de1f7 + 37dd3c5 commit 7c165d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lizmap/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 7c165d0

Please sign in to comment.