diff options
author | fahim-oscad | 2016-04-05 12:14:36 +0530 |
---|---|---|
committer | fahim-oscad | 2016-04-05 12:14:36 +0530 |
commit | 5a2d27df08634ec75a36135bfd9013d6d37a6d3f (patch) | |
tree | d2742c03c04dd42c85dfb5e736170663a6b5bbee | |
parent | 2723728ccec86ddfd801c10519a0079d0150d68f (diff) | |
download | eSim-5a2d27df08634ec75a36135bfd9013d6d37a6d3f.tar.gz eSim-5a2d27df08634ec75a36135bfd9013d6d37a6d3f.tar.bz2 eSim-5a2d27df08634ec75a36135bfd9013d6d37a6d3f.zip |
Close multimeter widget while closing Project
-rw-r--r-- | src/ngspiceSimulation/pythonPlotting.py | 2 |
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") |