From cc2082a63d52bf7181902cfab70a5ff84560aa9b Mon Sep 17 00:00:00 2001 From: fahim Date: Tue, 2 Jun 2015 14:55:09 +0530 Subject: Subject: Added cd to project directory in xterm. Description: This is done in order to avoid copying plot data file to project And also to make sure ngspice project get access its library used in netlist --- src/frontEnd/DockArea.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frontEnd/DockArea.py') diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py index 4e4f038c..e700dbd6 100644 --- a/src/frontEnd/DockArea.py +++ b/src/frontEnd/DockArea.py @@ -110,7 +110,7 @@ class DockArea(QtGui.QMainWindow): self.ngspiceWidget = QtGui.QWidget() self.ngspiceLayout = QtGui.QVBoxLayout() - self.ngspiceLayout.addWidget(NgspiceWidget(self.ngspiceNetlist)) + self.ngspiceLayout.addWidget(NgspiceWidget(self.ngspiceNetlist,self.projDir)) #Adding to main Layout self.ngspiceWidget.setLayout(self.ngspiceLayout) -- cgit