From 4002ccfd1a20ff18f18e4471a3d7d3a95651ca61 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 28 Mar 2018 10:22:32 +0200 Subject: [PATCH] [bugfix] pickdlg not deleted, consuming tons of memory --- pylot/core/util/widgets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 21e48650..e52480c3 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1315,6 +1315,8 @@ 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) if not self._embedded: @@ -4858,6 +4860,7 @@ class HelpForm(QDialog): toolBar.addWidget(self.pageLabel) self.webBrowser = QWebView() self.webBrowser.load(page) + #self.webBrowser.load('C:/Shared/code/git/pylot/pylot/core/util/map_test.html') layout = QVBoxLayout() layout.addWidget(toolBar)