Skip to content

Commit

Permalink
fixing measurement tools drawer onClosed
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Aug 16, 2024
1 parent d299b02 commit da86468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/qml/gps/MMMeasureDrawer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ MMDrawer {

dropShadow: true

//onClosed: root.endStakeout()
onClosed: root.measureFinished()

leftButtonText: closeShapeDone ? qsTr( "Repeat" ) : qsTr( "Undo" )
leftButtonIcon: closeShapeDone ? __style.syncIcon : __style.undoIcon
Expand Down
1 change: 1 addition & 0 deletions app/qml/map/MMMeasurementTools.qml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ Item {

onAddMeasurePoint: console.log(" Add measure ")
onMeasureDone: finishMeasurementDialog.open()
onMeasureFinished:root.finishMeasurement()
}

MMFinishMeasurementDialog {
Expand Down

0 comments on commit da86468

Please sign in to comment.