Commit 2aa572e7 authored by Don Gagne's avatar Don Gagne

Merge pull request #3371 from DonLakeFlyer/AFConfigReset

Fix double Reset button
parents 641665eb 2c9c086f
...@@ -79,7 +79,7 @@ QGCView { ...@@ -79,7 +79,7 @@ QGCView {
id: customConfigDialog id: customConfigDialog
message: qsTr("Your vehicle is using a custom airframe configuration. ") + message: qsTr("Your vehicle is using a custom airframe configuration. ") +
qsTr("This configuration can only be modified through the Parameter Editor.\n\n") + qsTr("This configuration can only be modified through the Parameter Editor.\n\n") +
qsTr("If you want to Reset your airframe configuration and select a standard configuration, click 'Reset' above.") qsTr("If you want to reset your airframe configuration and select a standard configuration, click 'Reset' above.")
property Fact sys_autostart: controller.getParameterFact(-1, "SYS_AUTOSTART") property Fact sys_autostart: controller.getParameterFact(-1, "SYS_AUTOSTART")
......
...@@ -107,9 +107,6 @@ FactPanel { ...@@ -107,9 +107,6 @@ FactPanel {
} else if (buttons & StandardButton.Abort) { } else if (buttons & StandardButton.Abort) {
__rejectButton.text = qsTr("Abort") __rejectButton.text = qsTr("Abort")
__rejectButton.visible = true __rejectButton.visible = true
} else if (buttons & StandardButton.Reset) {
__rejectButton.text = qsTr("Reset")
__rejectButton.visible = true
} }
} }
......
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