From 7d053e0c150b5b9c8ac1c4f68924592e58371730 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 22 Nov 2023 13:31:34 +0100 Subject: [PATCH] fix small ui bugs --- qml/ui/configpopup/ConfigPopup.qml | 1 - qml/ui/configpopup/openhd_settings/PopupAnalyzeChannels.qml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qml/ui/configpopup/ConfigPopup.qml b/qml/ui/configpopup/ConfigPopup.qml index 86b1ed292..5a8f6956b 100644 --- a/qml/ui/configpopup/ConfigPopup.qml +++ b/qml/ui/configpopup/ConfigPopup.qml @@ -207,7 +207,6 @@ Rectangle { // On localhost, QOpenHD "automatically" connects due to udp localhost method ConfigPopupSidebarButton{ id: connect_button - visible: !_ohdSystemAir.is_alive && !_ohdSystemGround.is_alive m_icon_text: "\uf6ff" m_description_text: "Connect" m_selection_index: 5 diff --git a/qml/ui/configpopup/openhd_settings/PopupAnalyzeChannels.qml b/qml/ui/configpopup/openhd_settings/PopupAnalyzeChannels.qml index 63d40b0e2..e862c61b2 100644 --- a/qml/ui/configpopup/openhd_settings/PopupAnalyzeChannels.qml +++ b/qml/ui/configpopup/openhd_settings/PopupAnalyzeChannels.qml @@ -80,7 +80,7 @@ Rectangle{ color: closeButton.hovered ? "darkgrey" : "lightgrey" } onClicked: { - if (_ohdSystemGround.is_alive && _ohdSystemGround.wb_gnd_operating_mode == 1) { + if (_ohdSystemGround.is_alive && _ohdSystemGround.wb_gnd_operating_mode == 2) { _qopenhd.show_toast("STILL ANALYZING, PLEASE WAIT ..."); return; } @@ -90,7 +90,7 @@ Rectangle{ } RowLayout{ - visible:false + visible:true Layout.alignment: Qt.AlignTop | Qt.AlignRight ButtonIconInfo{ Layout.alignment: Qt.AlignLeft