From f3790ecb119764788a191ed249665c09f430e868 Mon Sep 17 00:00:00 2001 From: consti10 Date: Sun, 3 Dec 2023 18:24:52 +0100 Subject: [PATCH] make the text always visible, otherwise the user has no feedback about the result of a channel scan (found / not found) replaced the dirty 'NONE' string though --- app/telemetry/settings/wblinksettingshelper.h | 2 +- qml/ui/configpopup/openhd_settings/PopupScanChannels.qml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/telemetry/settings/wblinksettingshelper.h b/app/telemetry/settings/wblinksettingshelper.h index e13dadc19..ee865e275 100644 --- a/app/telemetry/settings/wblinksettingshelper.h +++ b/app/telemetry/settings/wblinksettingshelper.h @@ -46,7 +46,7 @@ class WBLinkSettingsHelper : public QObject // Dirty, incremented to signal to the UI that it should rebuild the model(s) L_RO_PROP(int,ui_rebuild_models,set_ui_rebuild_models,0) // Scanning - L_RO_PROP(QString,scanning_text_for_ui,set_scanning_text_for_ui,"NONE"); + L_RO_PROP(QString,scanning_text_for_ui,set_scanning_text_for_ui,""); L_RO_PROP(int,scan_progress_perc,set_scan_progress_perc,0) // Analyzing L_RO_PROP(int,analyze_progress_perc,set_analyze_progress_perc,0) diff --git a/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml b/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml index 98e28ed6d..db63713b7 100644 --- a/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml +++ b/qml/ui/configpopup/openhd_settings/PopupScanChannels.qml @@ -128,7 +128,6 @@ Rectangle{ impl_show_progress_text: true } Text{ - visible: _ohdSystemGround.is_alive && _ohdSystemGround.wb_gnd_operating_mode!=0 Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.row: 3 Layout.column: 0