diff options
author | Rahul P | 2022-01-27 12:26:30 +0530 |
---|---|---|
committer | GitHub | 2022-01-27 12:26:30 +0530 |
commit | 976f6ac9be6017cfe2d9849cd0089d6cdbaad4cf (patch) | |
tree | 1290f54dac7f34f0521bc38ce0e673f52649ea90 /src/frontEnd/DockArea.py | |
parent | 840090d0eedac3c60026269f50f9bb8365e4801b (diff) | |
parent | 1d044a719c68488dd90cef2faf5b1101c005ab4c (diff) | |
download | eSim-976f6ac9be6017cfe2d9849cd0089d6cdbaad4cf.tar.gz eSim-976f6ac9be6017cfe2d9849cd0089d6cdbaad4cf.tar.bz2 eSim-976f6ac9be6017cfe2d9849cd0089d6cdbaad4cf.zip |
Merge pull request #171 from Eyantra698Sumanto/master
Fixed Crash Issues of Xterm and .cir.out not found
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() |