diff options
author | Pranav P | 2023-05-24 12:14:06 +0530 |
---|---|---|
committer | Pranav P | 2023-05-24 12:14:06 +0530 |
commit | 22570451ec4e2a86f489125ca540b7a86d682286 (patch) | |
tree | 963f18f3ebef703c1781683c514fa4a013e0e12b /src/progressBar | |
parent | 7b36bfed265309672689cd6ddd04c9a24d115e9c (diff) | |
download | eSim-22570451ec4e2a86f489125ca540b7a86d682286.tar.gz eSim-22570451ec4e2a86f489125ca540b7a86d682286.tar.bz2 eSim-22570451ec4e2a86f489125ca540b7a86d682286.zip |
Reduced passage of functions between objects via simulationEssentials
Diffstat (limited to 'src/progressBar')
-rw-r--r-- | src/progressBar/progressBar.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/progressBar/progressBar.py b/src/progressBar/progressBar.py index e1b9be34..4631e16b 100644 --- a/src/progressBar/progressBar.py +++ b/src/progressBar/progressBar.py @@ -13,11 +13,8 @@ import os class Ui_Form(object): - def __init__(self, qProcess, simulationEssentials): + def __init__(self, qProcess): self.qProcess = qProcess - self.enableButtons = simulationEssentials['enableButtons'] - self.isSimulationSuccess = simulationEssentials['isSimulationSuccess'] - self.resetSimulationVariables = simulationEssentials['resetSimulationVariables'] self.iconDir = "../progressBar/icons" # super().__init__() def setupUi(self, Form): @@ -148,7 +145,6 @@ class Ui_Form(object): return self.showProgressRunning() self.simulationConsole.setText("") - self.resetSimulationVariables() self.qProcess.start('ngspice', self.args) def changeColor(self): |