mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 22:27:13 +02:00
don't allow clicking on push to talk in MicBarApplication
This commit is contained in:
parent
f2b0e47c39
commit
3241d2f960
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue