Add 'showDebugButtons' switch on Help ta

This commit is contained in:
Zach Fox 2017-10-17 13:44:19 -07:00
parent 8965f2aac3
commit 6f5fafb62f

View file

@ -25,6 +25,7 @@ Item {
id: root; id: root;
property string keyFilePath; property string keyFilePath;
property bool showDebugButtons: true;
Hifi.QmlCommerce { Hifi.QmlCommerce {
id: commerce; id: commerce;
@ -56,6 +57,7 @@ Item {
} }
HifiControlsUit.Button { HifiControlsUit.Button {
id: clearCachedPassphraseButton; id: clearCachedPassphraseButton;
visible: root.showDebugButtons;
color: hifi.buttons.black; color: hifi.buttons.black;
colorScheme: hifi.colorSchemes.dark; colorScheme: hifi.colorSchemes.dark;
anchors.top: parent.top; anchors.top: parent.top;
@ -71,6 +73,7 @@ Item {
} }
HifiControlsUit.Button { HifiControlsUit.Button {
id: resetButton; id: resetButton;
visible: root.showDebugButtons;
color: hifi.buttons.red; color: hifi.buttons.red;
colorScheme: hifi.colorSchemes.dark; colorScheme: hifi.colorSchemes.dark;
anchors.top: clearCachedPassphraseButton.top; anchors.top: clearCachedPassphraseButton.top;