diff options
Diffstat (limited to 'src/frontEnd/DockArea.py')
-rw-r--r-- | src/frontEnd/DockArea.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py index b96c468a..c1ed0588 100644 --- a/src/frontEnd/DockArea.py +++ b/src/frontEnd/DockArea.py @@ -122,7 +122,9 @@ class DockArea(QtWidgets.QMainWindow): self.projName = os.path.basename(self.projDir) self.ngspiceNetlist = os.path.join( self.projDir, self.projName + ".cir.out") - + # Edited by Sumanto Kar 25/08/2021 + if os.path.isfile(self.ngspiceNetlist) is False: + return False global count self.ngspiceWidget = QtWidgets.QWidget() |