summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/NgspiceWidget.py
diff options
context:
space:
mode:
authorathulappadan2016-03-17 11:41:50 +0530
committerathulappadan2016-03-17 11:41:50 +0530
commiteba6e6ed7860256287a7490b90d2e00fa903cd41 (patch)
tree096720f51c6aff0015b4f92bf5fa7c5e41dfe5ce /src/ngspiceSimulation/NgspiceWidget.py
parent47def6faede05c5056d8a9f000f5ae5f9e3da7b9 (diff)
downloadeSim-eba6e6ed7860256287a7490b90d2e00fa903cd41.tar.gz
eSim-eba6e6ed7860256287a7490b90d2e00fa903cd41.tar.bz2
eSim-eba6e6ed7860256287a7490b90d2e00fa903cd41.zip
Closes all external windows while closing a selected project
Diffstat (limited to 'src/ngspiceSimulation/NgspiceWidget.py')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py1
1 files changed, 1 insertions, 0 deletions
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()