From 3241d2f9602c9ef0d86643323b99cc311dbd897e Mon Sep 17 00:00:00 2001 From: Wayne Chen Date: Thu, 28 Mar 2019 16:24:37 -0700 Subject: [PATCH] don't allow clicking on push to talk in MicBarApplication --- interface/resources/qml/hifi/audio/MicBarApplication.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/resources/qml/hifi/audio/MicBarApplication.qml b/interface/resources/qml/hifi/audio/MicBarApplication.qml index 6bb418688e..c19cc54f4a 100644 --- a/interface/resources/qml/hifi/audio/MicBarApplication.qml +++ b/interface/resources/qml/hifi/audio/MicBarApplication.qml @@ -96,6 +96,9 @@ Rectangle { hoverEnabled: true; scrollGestureEnabled: false; onClicked: { + if (pushToTalk) { + return; + } AudioScriptingInterface.muted = !muted; Tablet.playSound(TabletEnums.ButtonClick); muted = Qt.binding(function() { return AudioScriptingInterface.muted; }); // restore binding