summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmloscilloscope
diff options
context:
space:
mode:
Diffstat (limited to 'examples/datavisualization/qmloscilloscope')
-rw-r--r--examples/datavisualization/qmloscilloscope/qml/qmloscilloscope/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/datavisualization/qmloscilloscope/qml/qmloscilloscope/main.qml b/examples/datavisualization/qmloscilloscope/qml/qmloscilloscope/main.qml
index eeaeab40..81884154 100644
--- a/examples/datavisualization/qmloscilloscope/qml/qmloscilloscope/main.qml
+++ b/examples/datavisualization/qmloscilloscope/qml/qmloscilloscope/main.qml
@@ -239,7 +239,7 @@ Item {
Layout.fillHeight: true
Layout.fillWidth: true
- text: "Show Flat"
+ text: surfaceSeries.flatShadingSupported ? "Show Flat" : "Flat not supported"
enabled: surfaceSeries.flatShadingSupported
onClicked: {