We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eee86b commit 5c0dc3dCopy full SHA for 5c0dc3d
libqfieldsync/offliners.py
@@ -113,6 +113,11 @@ def convert_to_offline(
113
if bbox and bbox.isFinite():
114
only_selected = True
115
for layer in layers:
116
+ if layer.type() != QgsMapLayer.LayerType.VectorLayer:
117
+ continue
118
+
119
+ assert isinstance(layer, QgsVectorLayer)
120
121
if Qgis.versionInt() >= 33000: # noqa: PLR2004
122
no_geometry_types = [
123
Qgis.GeometryType.Null,
0 commit comments