summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfahim-oscad2016-04-05 12:14:36 +0530
committerfahim-oscad2016-04-05 12:14:36 +0530
commit5a2d27df08634ec75a36135bfd9013d6d37a6d3f (patch)
treed2742c03c04dd42c85dfb5e736170663a6b5bbee
parent2723728ccec86ddfd801c10519a0079d0150d68f (diff)
downloadeSim-5a2d27df08634ec75a36135bfd9013d6d37a6d3f.tar.gz
eSim-5a2d27df08634ec75a36135bfd9013d6d37a6d3f.tar.bz2
eSim-5a2d27df08634ec75a36135bfd9013d6d37a6d3f.zip
Close multimeter widget while closing Project
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index a3fd09fb..295c0a1d 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -414,6 +414,8 @@ class plotWindow(QtGui.QMainWindow):
self.obj[j] = MultimeterWidgetClass(self.obj_dataext.NBList[j],self.getRMSValue(self.obj_dataext.y[j]),loc_x,loc_y,voltFlag)
loc_x += 50
loc_y += 50
+ ## Adding object of multimeter to dictionary
+ self.obj_appconfig.dock_dict[self.obj_appconfig.current_project['ProjectName']].append(self.obj[j])
if boxCheck == 0:
QtGui.QMessageBox.about(self, "Warning!!","Please select at least one Node OR Branch")