diff options
Diffstat (limited to 'examples/syncaxis.py')
-rw-r--r-- | examples/syncaxis.py | 1 |
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_() |