Skip to content

Commit

Permalink
exclude no geometry layer to dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoray committed Mar 12, 2024
1 parent d43b7fb commit 4cc8340
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/main_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ def _process_node_recursive(self, node, parent_node):
):
# Unsupported QgsMapLayerType
continue
if not child.layer().isSpatial():
# exclude no geometry layers such as CSV files
continue

else:
raise Exception("Unknown child type")
Expand Down

0 comments on commit 4cc8340

Please sign in to comment.