Commit ab11e2a4 authored by Gus Grubba's avatar Gus Grubba

Changed "Clear Saved Answers" text.

parent d1aba051
...@@ -102,7 +102,7 @@ QGCView { ...@@ -102,7 +102,7 @@ QGCView {
} }
} }
QGCButton { QGCButton {
text: qsTr("Reset AirMap Data") text: qsTr("Clear Saved Answers")
enabled: _enableAirMapFact.rawValue enabled: _enableAirMapFact.rawValue
onClicked: clearDialog.open() onClicked: clearDialog.open()
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
...@@ -111,7 +111,7 @@ QGCView { ...@@ -111,7 +111,7 @@ QGCView {
visible: false visible: false
icon: StandardIcon.Warning icon: StandardIcon.Warning
standardButtons: StandardButton.Yes | StandardButton.No standardButtons: StandardButton.Yes | StandardButton.No
title: qsTr("Reset AirMap Data") title: qsTr("Clear Saved Answers")
text: qsTr("All saved ruleset answers will be cleared. Is this really what you want?") text: qsTr("All saved ruleset answers will be cleared. Is this really what you want?")
onYes: { onYes: {
QGroundControl.airspaceManager.ruleSets.clearAllFeatures() QGroundControl.airspaceManager.ruleSets.clearAllFeatures()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment