Skip to content

Commit

Permalink
Fix harmless QML error
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Dec 22, 2023
1 parent 881ed10 commit c90f4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ ApplicationWindow {
.arg( UnitTypes.formatAngle( digitizingGeometryMeasure.azimuth < 0 ? digitizingGeometryMeasure.azimuth + 360 : digitizingGeometryMeasure.azimuth, 2, Qgis.AngleUnit.Degrees ) )
: '')

.arg(currentRubberband.model && currentRubberband.model.geometryType === Qgis.GeometryType.Polygon
.arg(currentRubberband && currentRubberband.model && currentRubberband.model.geometryType === Qgis.GeometryType.Polygon
? digitizingGeometryMeasure.perimeterValid
? '%1: %2\n'
.arg( qsTr( 'Perimeter') )
Expand Down

1 comment on commit c90f4f4

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.