summaryrefslogtreecommitdiff
path: root/examples/plotItemsSelector.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plotItemsSelector.py')
-rwxr-xr-xexamples/plotItemsSelector.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plotItemsSelector.py b/examples/plotItemsSelector.py
index 177489f..d7493ae 100755
--- a/examples/plotItemsSelector.py
+++ b/examples/plotItemsSelector.py
@@ -46,11 +46,11 @@ pw.show()
isd = ItemsSelectionDialog(plot=pw)
isd.setItemsSelectionMode(qt.QTableWidget.ExtendedSelection)
-result = isd.exec_()
+result = isd.exec()
if result:
for item in isd.getSelectedItems():
print(item.getName(), type(item))
else:
print("Selection cancelled")
-app.exec_()
+app.exec()