summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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()