summaryrefslogtreecommitdiff
path: root/examples/syncaxis.py
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2018-03-04 10:20:27 +0100
committerPicca Frédéric-Emmanuel <picca@debian.org>2018-03-04 10:20:27 +0100
commit270d5ddc31c26b62379e3caa9044dd75ccc71847 (patch)
tree55c5bfc851dfce7172d335cd2405b214323e3caf /examples/syncaxis.py
parente19c96eff0c310c06c4f268c8b80cb33bd08996f (diff)
New upstream version 0.7.0+dfsg
Diffstat (limited to 'examples/syncaxis.py')
-rw-r--r--examples/syncaxis.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/syncaxis.py b/examples/syncaxis.py
index 1033738..02505c9 100644
--- a/examples/syncaxis.py
+++ b/examples/syncaxis.py
@@ -97,5 +97,6 @@ class SyncPlot(qt.QMainWindow):
if __name__ == "__main__":
app = qt.QApplication([])
window = SyncPlot()
+ window.setAttribute(qt.Qt.WA_DeleteOnClose, True)
window.setVisible(True)
app.exec_()