src/eric7/UI/UserInterface.py

branch
eric7
changeset 10837
40cdaa4a847d
parent 10828
fc1310995b98
child 10838
2989df16da36
equal deleted inserted replaced
10836:dc7f25f2f7e4 10837:40cdaa4a847d
7943 and Preferences.getUI("OpenCrashSessionOnStartup") 7943 and Preferences.getUI("OpenCrashSessionOnStartup")
7944 ): 7944 ):
7945 fn = self.__checkCrashSessionExists() 7945 fn = self.__checkCrashSessionExists()
7946 if fn: 7946 if fn:
7947 res = self.__readSession(filename=fn) 7947 res = self.__readSession(filename=fn)
7948 if res and Preferences.getUI("DeleteLoadedCrashSession"):
7949 os.remove(fn)
7948 7950
7949 return res 7951 return res
7950 7952
7951 @pyqtSlot() 7953 @pyqtSlot()
7952 def __loadCrashSession(self): 7954 def __loadCrashSession(self):

eric ide

mercurial