forked from IPKM/nmreval
bugfix: remove value display item from graph before deletion
This commit is contained in:
parent
4268bdc5ae
commit
89c640e591
@ -393,6 +393,8 @@ class NMRMainWindow(QtWidgets.QMainWindow, Ui_BaseWindow):
|
|||||||
self.current_graph_widget.remove_external(item)
|
self.current_graph_widget.remove_external(item)
|
||||||
|
|
||||||
if val_figure == gid:
|
if val_figure == gid:
|
||||||
|
self.current_graph_widget.remove_external(self.valuewidget.selection_real)
|
||||||
|
self.current_graph_widget.remove_external(self.valuewidget.selection_imag)
|
||||||
self.tabWidget.setCurrentIndex(0)
|
self.tabWidget.setCurrentIndex(0)
|
||||||
|
|
||||||
self.current_graph_widget.enable_picking(False)
|
self.current_graph_widget.enable_picking(False)
|
||||||
|
Loading…
Reference in New Issue
Block a user