summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/KicadtoNgspice.py
diff options
context:
space:
mode:
authorFahim2015-08-18 12:21:12 +0530
committerFahim2015-08-18 12:21:12 +0530
commit3be4e7e563ae0b71904cb12899ecb7b8fed78bdc (patch)
tree692f37724365b105e9393dd44e4042b824b8e74a /src/kicadtoNgspice/KicadtoNgspice.py
parent4c4e4e0882a6e5ed7c78339794073bac1ec3db04 (diff)
downloadeSim-3be4e7e563ae0b71904cb12899ecb7b8fed78bdc.tar.gz
eSim-3be4e7e563ae0b71904cb12899ecb7b8fed78bdc.tar.bz2
eSim-3be4e7e563ae0b71904cb12899ecb7b8fed78bdc.zip
Subject: Analysis bug fixing.
Description: Analysis bug fixing for automatic enabling and disabling check box.
Diffstat (limited to 'src/kicadtoNgspice/KicadtoNgspice.py')
-rw-r--r--src/kicadtoNgspice/KicadtoNgspice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py
index 7916c9f3..87616a3d 100644
--- a/src/kicadtoNgspice/KicadtoNgspice.py
+++ b/src/kicadtoNgspice/KicadtoNgspice.py
@@ -259,8 +259,8 @@ class MainWindow(QtGui.QWidget):
ET.SubElement(attr_dc,"field2",name="Start").text= str(obj_analysis.dc_entry_var[1].text())
ET.SubElement(attr_dc,"field3",name="Increment").text= str(obj_analysis.dc_entry_var[2].text())
ET.SubElement(attr_dc,"field4",name="Stop").text= str(obj_analysis.dc_entry_var[3].text())
- ET.SubElement(attr_dc,"field5",name="Operating Point").text=str(obj_analysis.check.isChecked())
- print "OBJ_ANALYSIS.CHECK -----",obj_analysis.check.isChecked()
+ ET.SubElement(attr_dc,"field5",name="Operating Point").text=str(self.obj_track.op_check[-1])
+ print "OBJ_ANALYSIS.CHECK -----",self.obj_track.op_check[-1]
ET.SubElement(attr_dc,"field6",name="Start Combo").text= obj_analysis.dc_parameter[0]
ET.SubElement(attr_dc,"field7",name="Increment Combo").text=obj_analysis.dc_parameter[1]
ET.SubElement(attr_dc,"field8",name="Stop Combo").text= obj_analysis.dc_parameter[2]