Skip to content

Commit 5f87b52

Browse files
committed
Digitize by default in QField
1 parent 817d91a commit 5f87b52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xlsformconverter/XLSFormConverter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,6 +1726,9 @@ def convert(
17261726

17271727
self.output_extent = survey_extent
17281728

1729+
# Set QField state to digitize when first opening the generated project
1730+
self.output_project.writeEntry("qfieldsync", "initialMapMode", "digitize")
1731+
17291732
if self.output_project.crs().authid() == "EPSG:3857":
17301733
# Display coordinates in WGS84 to provide a more useful experience for the average person
17311734
self.output_project.displaySettings().setCoordinateType(

0 commit comments

Comments
 (0)