summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontEnd/Application.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index e768d6b8..b45509a7 100644
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -561,6 +561,20 @@ class Application(QtWidgets.QMainWindow):
# else:
# proc = 'xterm'
+ # # Edited by Sumanto Kar 25/08/2021
+ # if False and os.name != 'nt' and \
+ # self.checkIfProcessRunning('xterm') is False:
+ # self.msg = QtWidgets.QErrorMessage()
+ # self.msg.setModal(True)
+ # self.msg.setWindowTitle("Warning Message")
+ # self.msg.showMessage(
+ # 'Simulation was interrupted/failed. '
+ # 'Please close all the Ngspice windows '
+ # 'and then rerun the simulation.'
+ # )
+ # self.msg.exec_()
+ # return
+
st = os.stat(os.path.join(self.projDir, "plot_data_i.txt"))
self.simulationCompleted = True
if st.st_mtime >= currTime: