Skip to content

Commit

Permalink
Merge pull request #88 from mind84/qgis_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 8416128 + 99aeb32 commit 07f2c5e
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 07f2c5e

Please sign in to comment.