From 278a122291e18fa7e146bd4917a51892a1a81130 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Tue, 20 Jun 2017 14:04:50 -0700 Subject: [PATCH] bring visibleChanged to standard --- interface/resources/qml/hifi/audio/PlaySampleSound.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/resources/qml/hifi/audio/PlaySampleSound.qml b/interface/resources/qml/hifi/audio/PlaySampleSound.qml index 4d59da88a6..99f3648ec3 100644 --- a/interface/resources/qml/hifi/audio/PlaySampleSound.qml +++ b/interface/resources/qml/hifi/audio/PlaySampleSound.qml @@ -39,7 +39,11 @@ RowLayout { Component.onCompleted: createSampleSound(); Component.onDestruction: stopSound(); - onVisibleChanged: { if (!visible) stopSound(); } + onVisibleChanged: { + if (!visible) { + stopSound(); + } + } HifiConstants { id: hifi; }