diff options
Diffstat (limited to 'src/frontEnd')
-rw-r--r-- | src/frontEnd/DockArea.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py index b96c468a..a446b833 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() @@ -322,3 +324,4 @@ class DockArea(QtWidgets.QMainWindow): self.temp = self.obj_appconfig.current_project['ProjectName'] for dockwidget in self.obj_appconfig.dock_dict[self.temp]: dockwidget.close() + |