From eba6e6ed7860256287a7490b90d2e00fa903cd41 Mon Sep 17 00:00:00 2001 From: athulappadan Date: Thu, 17 Mar 2016 11:41:50 +0530 Subject: Closes all external windows while closing a selected project --- src/ngspiceSimulation/NgspiceWidget.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ngspiceSimulation/NgspiceWidget.py') diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index ee4dafe7..310cbe3c 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -24,6 +24,7 @@ class NgspiceWidget(QtGui.QWidget): self.args = ['-hold','-e', self.command] self.process.start('xterm', self.args) self.obj_appconfig.process_obj.append(self.process) + self.obj_appconfig.proc_dict[self.obj_appconfig.current_project['ProjectName']].append(self.process.pid()) elif platform.system() == 'Windows': tempdir= os.getcwd() -- cgit