From d056a822b7f5f395b3c92763b1f062c1c35ddebd Mon Sep 17 00:00:00 2001 From: Oleksandr Koshchii Date: Tue, 26 Mar 2024 14:53:58 +0100 Subject: [PATCH] Deactivate applyDataCorrection button in sideBar of Corrections tab --- .../Components/Pages/Corrections/SideBarBasic/Sub01.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/EasyTextureApp/Gui/Components/Pages/Corrections/SideBarBasic/Sub01.qml b/EasyTextureApp/Gui/Components/Pages/Corrections/SideBarBasic/Sub01.qml index 9449106..a2cf5b9 100644 --- a/EasyTextureApp/Gui/Components/Pages/Corrections/SideBarBasic/Sub01.qml +++ b/EasyTextureApp/Gui/Components/Pages/Corrections/SideBarBasic/Sub01.qml @@ -30,10 +30,17 @@ Grid { } // EasyApp RadioButton not working RadioButton { + id: applyDataCorrection topPadding: 0 text: qsTr("Apply data correction") ToolTip.text: qsTr("Checking this box will apply data correction to the measurement data") - + enabled: false + contentItem: Text { + text: applyDataCorrection.text + color: "grey" + leftPadding: applyDataCorrection.indicator.width + applyDataCorrection.spacing + verticalAlignment: Text.AlignVCenter + } onCheckedChanged: Globals.Proxies.main.corrections.applyDataCorrection = checked }