From a72e4ba833dbd92a99905428c4ddb253793377b4 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Wed, 3 May 2023 19:04:48 +0200 Subject: [PATCH] add logging to fit exception to retain more info; all references to current graph are either None or id --- src/gui_qt/main/mainwindow.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/gui_qt/main/mainwindow.py b/src/gui_qt/main/mainwindow.py index d813756..e228552 100644 --- a/src/gui_qt/main/mainwindow.py +++ b/src/gui_qt/main/mainwindow.py @@ -528,7 +528,6 @@ class NMRMainWindow(QtWidgets.QMainWindow, Ui_BaseWindow): self._select_valuewidget(widget == self.valuewidget) pick_required, block_window = self._select_t1tauwidget(widget == self.t1tauwidget, pick_required, block_window) block_window = self._select_fitwidget(widget == self.fit_dialog, block_window) - self._select_drawingswidget(widget == self.drawingswidget) pick_required = self._select_integralwidget(widget == self.integralwidget, pick_required, block_window) self._set_pick_block(pick_required, block_window) @@ -617,14 +616,6 @@ class NMRMainWindow(QtWidgets.QMainWindow, Ui_BaseWindow): return pick_required, block_window - def _select_drawingswidget(self, onoff): - if onoff: - if self.drawingswidget.graphs is None: - self.drawingswidget.graphs = self.management.graphs - self.drawingswidget.update_tree() - else: - self.drawingswidget.clear() - @QtCore.pyqtSlot(str) def get_data(self, key: str): if hasattr(self.sender(), 'set_data'):