mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Add 'showDebugButtons' switch on Help ta
This commit is contained in:
parent
8965f2aac3
commit
6f5fafb62f
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue