started major refactoring to simplify function addition/removal

This commit is contained in:
Markus Rosenstihl 2014-03-19 22:02:56 +01:00
parent e18364b075
commit 83b738c480

2
QDS.py
View File

@ -276,7 +276,7 @@ class AppWindow(QMainWindow):
#self.ui.graphicsView.removeItem(self.PowerComplex.data_curve_real) #self.ui.graphicsView.removeItem(self.PowerComplex.data_curve_real)
self.function_registry.unregister_function(self.PowerComplex) self.function_registry.unregister_function(self.PowerComplex)
self.PowerComplex = None #self.PowerComplex = None
self.updatePlot() self.updatePlot()