summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice
diff options
context:
space:
mode:
authorFahim2016-02-24 14:46:22 +0530
committerFahim2016-02-24 14:46:22 +0530
commit9fec585d1fb1e0673b52e6d6d41c4c7ea88ad234 (patch)
tree6422e4ca9d677a2cde76bed0e4aba4fd0fb0e695 /src/kicadtoNgspice
parent96e1465d095b54cb98239edb851d6af68172c839 (diff)
downloadeSim-9fec585d1fb1e0673b52e6d6d41c4c7ea88ad234.tar.gz
eSim-9fec585d1fb1e0673b52e6d6d41c4c7ea88ad234.tar.bz2
eSim-9fec585d1fb1e0673b52e6d6d41c4c7ea88ad234.zip
Subject: Bug Fixing: Clear Model Track and Model entry parameter
Description: Bug Fixing: Clear Model Track and Model entry parameter before opening Kicad to Ngspice window.
Diffstat (limited to 'src/kicadtoNgspice')
-rw-r--r--src/kicadtoNgspice/KicadtoNgspice.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py
index 13f4c0e6..669b51d0 100644
--- a/src/kicadtoNgspice/KicadtoNgspice.py
+++ b/src/kicadtoNgspice/KicadtoNgspice.py
@@ -56,9 +56,13 @@ class MainWindow(QtGui.QWidget):
#Create object of track widget
self.obj_track = TrackWidget.TrackWidget()
- #Clear dictionary item of sub circuit
+ #Clear Dictionary/List item of sub circuit and ngspice model
+ #Dictionary
self.obj_track.subcircuitList.clear()
self.obj_track.subcircuitTrack.clear()
+ self.obj_track.model_entry_var.clear()
+ #List
+ self.obj_track.modelTrack[:]=[]
#Object of Processing
obj_proc = PrcocessNetlist()