[bugfix] delete_later not caused tuneAutoPicker to malfunction
This commit is contained in:
parent
cbba41f16a
commit
d695c0016a
@ -1282,6 +1282,7 @@ class PickDlg(QDialog):
|
|||||||
event=None, filteroptions=None, model='iasp91'):
|
event=None, filteroptions=None, model='iasp91'):
|
||||||
super(PickDlg, self).__init__(parent, 1)
|
super(PickDlg, self).__init__(parent, 1)
|
||||||
self.orig_parent = parent
|
self.orig_parent = parent
|
||||||
|
self.setAttribute(Qt.WA_DeleteOnClose)
|
||||||
|
|
||||||
# initialize attributes
|
# initialize attributes
|
||||||
self.parameter = parameter
|
self.parameter = parameter
|
||||||
@ -1414,7 +1415,6 @@ class PickDlg(QDialog):
|
|||||||
self.setWindowTitle('Pickwindow on station: {}'.format(self.getStation()))
|
self.setWindowTitle('Pickwindow on station: {}'.format(self.getStation()))
|
||||||
self.setWindowState(QtCore.Qt.WindowMaximized)
|
self.setWindowState(QtCore.Qt.WindowMaximized)
|
||||||
|
|
||||||
self.deleteLater()
|
|
||||||
|
|
||||||
def setupUi(self):
|
def setupUi(self):
|
||||||
menuBar = QtGui.QMenuBar(self)
|
menuBar = QtGui.QMenuBar(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user