aboutsummaryrefslogtreecommitdiffstats
path: root/examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py')
-rw-r--r--examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py b/examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py
index 1dd7db84b..946c96261 100644
--- a/examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py
+++ b/examples/graphs/3d/widgetgraphgallery/scatterdatamodifier.py
@@ -60,7 +60,7 @@ class ScatterDataModifier(QObject):
self._graph.selectedElementChanged.connect(self.handleElementSelected)
self._graph.dragged.connect(self.handleAxisDragging)
- self._graph.setDragButton(Qt.LeftButton)
+ self._graph.setDragButton(Qt.MouseButton.LeftButton)
self.addData()