diff options
Diffstat (limited to 'examples/graphs/3d/widgetgraphgallery/scattergraph.py')
| -rw-r--r-- | examples/graphs/3d/widgetgraphgallery/scattergraph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/graphs/3d/widgetgraphgallery/scattergraph.py b/examples/graphs/3d/widgetgraphgallery/scattergraph.py index 5c8d01e37..00b7fff69 100644 --- a/examples/graphs/3d/widgetgraphgallery/scattergraph.py +++ b/examples/graphs/3d/widgetgraphgallery/scattergraph.py @@ -106,9 +106,9 @@ class ScatterGraph(QObject): itemCountButton.clicked.connect(modifier.toggleItemCount) rangeButton.clicked.connect(modifier.toggleRanges) - backgroundCheckBox.stateChanged.connect(modifier.setPlotAreaBackgroundVisible) - gridCheckBox.stateChanged.connect(modifier.setGridVisible) - smoothCheckBox.stateChanged.connect(modifier.setSmoothDots) + backgroundCheckBox.checkStateChanged.connect(modifier.setPlotAreaBackgroundVisible) + gridCheckBox.checkStateChanged.connect(modifier.setGridVisible) + smoothCheckBox.checkStateChanged.connect(modifier.setSmoothDots) modifier.backgroundEnabledChanged.connect(backgroundCheckBox.setChecked) modifier.gridVisibleChanged.connect(gridCheckBox.setChecked) |
