From 5a2d27df08634ec75a36135bfd9013d6d37a6d3f Mon Sep 17 00:00:00 2001 From: fahim-oscad Date: Tue, 5 Apr 2016 12:14:36 +0530 Subject: Close multimeter widget while closing Project --- src/ngspiceSimulation/pythonPlotting.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ngspiceSimulation') 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") -- cgit