diff options
author | nilshah98 | 2019-06-07 12:40:35 +0530 |
---|---|---|
committer | nilshah98 | 2019-06-13 12:18:39 +0530 |
commit | 0b37af40b688ac0f68ab32fdefdf246b61dd1979 (patch) | |
tree | f8672eb016da549f1a0a1ab406e1c51ac3c56d74 /src/kicadtoNgspice/SubcircuitTab.py | |
parent | 23c03bea24b2ad59b8abc1394c39985928373598 (diff) | |
download | eSim-0b37af40b688ac0f68ab32fdefdf246b61dd1979.tar.gz eSim-0b37af40b688ac0f68ab32fdefdf246b61dd1979.tar.bz2 eSim-0b37af40b688ac0f68ab32fdefdf246b61dd1979.zip |
treeWidget UI bug fixed
Diffstat (limited to 'src/kicadtoNgspice/SubcircuitTab.py')
-rw-r--r-- | src/kicadtoNgspice/SubcircuitTab.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kicadtoNgspice/SubcircuitTab.py b/src/kicadtoNgspice/SubcircuitTab.py index 52a7a824..7b8001b1 100644 --- a/src/kicadtoNgspice/SubcircuitTab.py +++ b/src/kicadtoNgspice/SubcircuitTab.py @@ -73,7 +73,7 @@ class SubcircuitTab(QtGui.QWidget): global path_name try: for key in json_data["subcircuit"]: - if key[0] == eachline[0] and key[1] == eachline[1]: + if key[0] == words[0][0] and key[1:] == words[0][1:]: # print "Subcircuit MATCHING---",child.tag[0], \ # child.tag[1], eachline[0], eachline[1] try: |