From 6f5fafb62f25c39da87dd18ff520a6af5558dfb9 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Tue, 17 Oct 2017 13:44:19 -0700 Subject: [PATCH] Add 'showDebugButtons' switch on Help ta --- interface/resources/qml/hifi/commerce/wallet/Help.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/resources/qml/hifi/commerce/wallet/Help.qml b/interface/resources/qml/hifi/commerce/wallet/Help.qml index 65c06994f8..46706458cb 100644 --- a/interface/resources/qml/hifi/commerce/wallet/Help.qml +++ b/interface/resources/qml/hifi/commerce/wallet/Help.qml @@ -25,6 +25,7 @@ Item { id: root; property string keyFilePath; + property bool showDebugButtons: true; Hifi.QmlCommerce { id: commerce; @@ -56,6 +57,7 @@ Item { } HifiControlsUit.Button { id: clearCachedPassphraseButton; + visible: root.showDebugButtons; color: hifi.buttons.black; colorScheme: hifi.colorSchemes.dark; anchors.top: parent.top; @@ -71,6 +73,7 @@ Item { } HifiControlsUit.Button { id: resetButton; + visible: root.showDebugButtons; color: hifi.buttons.red; colorScheme: hifi.colorSchemes.dark; anchors.top: clearCachedPassphraseButton.top;