Update interface/resources/qml/hifi/audio/Audio.qml

Co-Authored-By: Zach Fox <fox@highfidelity.com>
This commit is contained in:
MiladNazeri 2019-09-11 12:44:59 -07:00 committed by GitHub
parent 3cf56210b2
commit d95a803324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -266,7 +266,7 @@ Rectangle {
labelTextSize: 16;
backgroundOnColor: "#E3E3E3";
checked: AudioScriptingInterface.warnWhenMuted;
visible: bar.currentIndex === 0 ? false : true;
visible: bar.currentIndex !== 0;
onClicked: {
AudioScriptingInterface.warnWhenMuted = checked;
checked = Qt.binding(function() { return AudioScriptingInterface.warnWhenMuted; }); // restore binding