diff --git a/src/qml/qgismobileapp.qml b/src/qml/qgismobileapp.qml index b7aba02da6..91b2eb22c7 100644 --- a/src/qml/qgismobileapp.qml +++ b/src/qml/qgismobileapp.qml @@ -1474,7 +1474,8 @@ ApplicationWindow { checkable: true checked: snapToCommonAngleButton.isSnapToCommonAngleRelative - onCheckedChanged: { + + onTriggered: { snapToCommonAngleButton.isSnapToCommonAngleRelative = checked; settings.setValue( "/QField/Digitizing/SnapToCommonAngleIsRelative", snapToCommonAngleButton.isSnapToCommonAngleRelative ); } @@ -1495,9 +1496,10 @@ ApplicationWindow { leftPadding: 10 checkable: true - enabled: !checked checked: modelData === snapToCommonAngleButton.snapToCommonAngleDegrees - onCheckedChanged: { + enabled: modelData !== snapToCommonAngleButton.snapToCommonAngleDegrees + + onTriggered: { if ( !checked ) { return; }