From c90f4f4ab9de9c0c3a2ef104a176c196d5b2b364 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Fri, 22 Dec 2023 09:49:52 +0700 Subject: [PATCH] Fix harmless QML error --- src/qml/qgismobileapp.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index b02ee3f053..7a3a2925ce 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -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') )