Update Audio.qml

"Noise Reduction: Manual/Automatic" -> "Manual Noise Reduction"
This commit is contained in:
Kalila L 2021-02-13 17:17:27 -05:00
parent 799590a0fc
commit 88b9ebb11a

View file

@ -580,14 +580,14 @@ Rectangle {
anchors.top: noiseReductionSwitch.bottom; anchors.top: noiseReductionSwitch.bottom;
anchors.topMargin: 24; anchors.topMargin: 24;
anchors.left: parent.left; anchors.left: parent.left;
labelTextOn: "Noise Reduction: Manual/Automatic"; labelTextOn: "Manual Noise Reduction";
labelTextSize: 16; labelTextSize: 16;
backgroundOnColor: "#E3E3E3"; backgroundOnColor: "#E3E3E3";
checked: AudioScriptingInterface.noiseReductionAutomatic; checked: !AudioScriptingInterface.noiseReductionAutomatic;
visible: AudioScriptingInterface.noiseReduction === true; visible: AudioScriptingInterface.noiseReduction === true;
onCheckedChanged: { onCheckedChanged: {
AudioScriptingInterface.noiseReductionAutomatic = checked; AudioScriptingInterface.noiseReductionAutomatic = !checked;
checked = Qt.binding(function() { return AudioScriptingInterface.noiseReductionAutomatic; }); // restore binding checked = Qt.binding(function() { return !AudioScriptingInterface.noiseReductionAutomatic; }); // restore binding
} }
} }
} }
@ -663,7 +663,7 @@ Rectangle {
width: noiseReductionThresholdSlider.width - 10; width: noiseReductionThresholdSlider.width - 10;
height: 8; height: 8;
Text { Text {
id: status; id: status;