From 291cc0dd2ad7d12b259523e52bac68733d3bbc6a Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:13:45 +0100 Subject: [PATCH] Update Panel1Link.qml --- qml/ui/sidebar/Panel1Link.qml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/qml/ui/sidebar/Panel1Link.qml b/qml/ui/sidebar/Panel1Link.qml index f2063f955..fb270c9a0 100644 --- a/qml/ui/sidebar/Panel1Link.qml +++ b/qml/ui/sidebar/Panel1Link.qml @@ -43,24 +43,24 @@ SideBarBasePanel{ } }*/ MavlinkChoiceElement2{ - id:edit_frequency_element - m_title: "Frequency" - m_param_id: mPARAM_ID_FREQUENCY - m_settings_model: _ohdSystemAirSettingsModel + id:scan_frequency_element + m_title: "Scan for Air" + m_param_id: mPARAM_ID_FREQUENCY_SCAN + m_settings_model: _ohdSystemGroundSettings onGoto_previous: { - sidebar.regain_control_on_sidebar_stack() + sidebar.regain_control_on_sidebar_stack(); } onGoto_next: { - scan_frequency_element.takeover_control() + edit_frequency_element.takeover_control() } } MavlinkChoiceElement2{ - id:scan_frequency_element - m_title: "Scan for Air" - m_param_id: mPARAM_ID_FREQUENCY_SCAN - m_settings_model: _ohdSystemGroundSettings + id:edit_frequency_element + m_title: "Frequency" + m_param_id: mPARAM_ID_FREQUENCY + m_settings_model: _ohdSystemAirSettingsModel onGoto_previous: { - edit_frequency_element.takeover_control(); + scan_frequency_element.takeover_control() } onGoto_next: { edit_channel_width_element.takeover_control()