From 5b9a695fd8b8cf77b92c9bccf9b0f7b7c1a5606b Mon Sep 17 00:00:00 2001
From: DonLakeFlyer <dongagne@outlook.com>
Date: Tue, 24 Dec 2019 13:00:10 -0800
Subject: [PATCH] Fix showPanel calls

---
 src/VehicleSetup/SetupView.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/VehicleSetup/SetupView.qml b/src/VehicleSetup/SetupView.qml
index 4719e8e..6c13a47 100644
--- a/src/VehicleSetup/SetupView.qml
+++ b/src/VehicleSetup/SetupView.qml
@@ -257,7 +257,7 @@ Rectangle {
                 setupIndicator:     false
                 text:               qsTr("PX4Flow")
                 Layout.fillWidth:   true
-                onClicked:          showPX4FlowPanel(this, "PX4FlowSensor.qml")
+                onClicked:          showPanel(this, "PX4FlowSensor.qml")
             }
 
             SubMenuButton {
@@ -268,7 +268,7 @@ Rectangle {
                 visible:            _fullParameterVehicleAvailable && joystickManager.joysticks.length !== 0
                 text:               qsTr("Joystick")
                 Layout.fillWidth:   true
-                onClicked:          showJoystickPanel(this, "JoystickConfig.qml")
+                onClicked:          showPanel(this, "JoystickConfig.qml")
             }
 
             Repeater {