diff options
author | Pranav P | 2023-05-24 15:43:39 +0530 |
---|---|---|
committer | Pranav P | 2023-05-24 15:43:39 +0530 |
commit | 64d0d1771b0bc41710897860d7a395d8f5fb4600 (patch) | |
tree | b21d3d53d8ce808ff563405149304cb80c9772f8 /src | |
parent | 3fc177d796b0e2591a016b153cd29e8db3364e8d (diff) | |
download | eSim-64d0d1771b0bc41710897860d7a395d8f5fb4600.tar.gz eSim-64d0d1771b0bc41710897860d7a395d8f5fb4600.tar.bz2 eSim-64d0d1771b0bc41710897860d7a395d8f5fb4600.zip |
Readded old xterm check and commented it out
Diffstat (limited to 'src')
-rw-r--r-- | src/frontEnd/Application.py | 14 |
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: |