adding fix

This commit is contained in:
Wayne Chen 2018-07-30 18:44:39 -07:00
parent 1b47d3f274
commit 78001a4e31

View file

@ -12,7 +12,7 @@ import QtQuick 2.5
import QtQuick.Controls 1.4 import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import "../../../../resources/qml/controls-uit" as HifiControls import "qrc:////qml//controls-uit" as HifiControls
Column { Column {
id: stats id: stats
@ -25,7 +25,7 @@ Column {
HifiControls.Button { HifiControls.Button {
id: toggleGraphs id: toggleGraphs
property bool checked: false checked: false
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
text: checked ? "Hide graphs" : "Show graphs" text: checked ? "Hide graphs" : "Show graphs"
onClicked: function() { checked = !checked; } onClicked: function() { checked = !checked; }