diff options
Diffstat (limited to 'examples/charts')
-rw-r--r-- | examples/charts/qmloscilloscope/qml/qmloscilloscope/ControlPanel.qml | 2 | ||||
-rw-r--r-- | examples/charts/qmloscilloscope/qml/qmloscilloscope/main.qml | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/examples/charts/qmloscilloscope/qml/qmloscilloscope/ControlPanel.qml b/examples/charts/qmloscilloscope/qml/qmloscilloscope/ControlPanel.qml index 19277a09..fe3bc869 100644 --- a/examples/charts/qmloscilloscope/qml/qmloscilloscope/ControlPanel.qml +++ b/examples/charts/qmloscilloscope/qml/qmloscilloscope/ControlPanel.qml @@ -96,7 +96,7 @@ ColumnLayout { id: antialiasButton text: "Antialias: " items: ["OFF", "ON"] - enabled: false + enabled: true currentSelection: 0 onSelectionChanged: antialiasingEnabled(currentSelection == 1); } diff --git a/examples/charts/qmloscilloscope/qml/qmloscilloscope/main.qml b/examples/charts/qmloscilloscope/qml/qmloscilloscope/main.qml index 7c6b2cd7..a8260564 100644 --- a/examples/charts/qmloscilloscope/qml/qmloscilloscope/main.qml +++ b/examples/charts/qmloscilloscope/qml/qmloscilloscope/main.qml @@ -56,8 +56,6 @@ Item { onAntialiasingEnabled: scopeView.antialiasing = enabled; onOpenGlChanged: { scopeView.openGL = enabled; - antialiasButton.enabled = !enabled; - antialiasButton.currentSelection = 0; } } |