From d695c0016aebf2980c0258a8eeaf1d9038c65b02 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 5 Jun 2018 15:06:33 +0200 Subject: [PATCH] [bugfix] delete_later not caused tuneAutoPicker to malfunction --- pylot/core/util/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index da4adbe0..01c02bd3 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1282,6 +1282,7 @@ class PickDlg(QDialog): event=None, filteroptions=None, model='iasp91'): super(PickDlg, self).__init__(parent, 1) self.orig_parent = parent + self.setAttribute(Qt.WA_DeleteOnClose) # initialize attributes self.parameter = parameter @@ -1414,7 +1415,6 @@ class PickDlg(QDialog): self.setWindowTitle('Pickwindow on station: {}'.format(self.getStation())) self.setWindowState(QtCore.Qt.WindowMaximized) - self.deleteLater() def setupUi(self): menuBar = QtGui.QMenuBar(self)