summaryrefslogtreecommitdiff
path: root/src/frontEnd/DockArea.py
diff options
context:
space:
mode:
authorPranav P2023-05-04 19:26:04 +0530
committerPranav P2023-05-04 19:26:04 +0530
commitcf6bb2edf063ba6d3415434899e8a73a42755aa0 (patch)
treeb4f043ce7b8266ba3b4227d716b292adfa69e55c /src/frontEnd/DockArea.py
parent299b330406e6124ba3542833d8cb9b82cfc10d03 (diff)
downloadeSim-cf6bb2edf063ba6d3415434899e8a73a42755aa0.tar.gz
eSim-cf6bb2edf063ba6d3415434899e8a73a42755aa0.tar.bz2
eSim-cf6bb2edf063ba6d3415434899e8a73a42755aa0.zip
Disabled multiple simulations
Diffstat (limited to 'src/frontEnd/DockArea.py')
-rwxr-xr-xsrc/frontEnd/DockArea.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py
index 4cab6261..cf21199d 100755
--- a/src/frontEnd/DockArea.py
+++ b/src/frontEnd/DockArea.py
@@ -117,10 +117,10 @@ class DockArea(QtWidgets.QMainWindow):
)
count = count + 1
- def ngspiceEditor(self, projDir, timer):
+ def ngspiceEditor(self, projDir, simulationEssentials):
""" This function creates widget for Ngspice window."""
self.projDir = projDir
- self.qTimer = timer
+ self.simulationEssentials = simulationEssentials
self.projName = os.path.basename(self.projDir)
self.ngspiceNetlist = os.path.join(
self.projDir, self.projName + ".cir.out")
@@ -134,7 +134,7 @@ class DockArea(QtWidgets.QMainWindow):
self.ngspiceLayout = QtWidgets.QVBoxLayout()
self.ngspiceLayout.addWidget(
- NgspiceWidget(self.ngspiceNetlist, self.projDir, self.qTimer)
+ NgspiceWidget(self.ngspiceNetlist, self.projDir, self.simulationEssentials)
)
# Adding to main Layout