Skip to content

Commit

Permalink
Improved comment about QFieldSync/remoteLayerId
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Kuhn <[email protected]>
  • Loading branch information
suricactus and m-kuhn authored Jul 3, 2023
1 parent 870eccd commit 1a728f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion offline_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def _convert(self, project: QgsProject) -> None:

self.__layer_data_by_id[layer.id()] = layer_data

# TODO replace `QFieldSync/remoteLayerId` with `remoteLayerId`, which is already set by `QgsOfflineEditing`
# `QFieldSync/remoteLayerId` should be equal to `remoteLayerId`, which is already set by `QgsOfflineEditing`. We add this as a copy to have control over this attribute that might suddenly change on QGIS.
layer.setCustomProperty("QFieldSync/remoteLayerId", layer.id())

self.total_progress_updated.emit(
Expand Down

0 comments on commit 1a728f6

Please sign in to comment.