Handle exceptions while crash dialog is shown correctly. Fixes #168.
This commit is contained in:
parent
0e771db7f1
commit
c6ccb56208
@ -416,6 +416,11 @@ class Application(QApplication):
|
|||||||
exc = (exctype, excvalue, tb)
|
exc = (exctype, excvalue, tb)
|
||||||
sys.__excepthook__(*exc)
|
sys.__excepthook__(*exc)
|
||||||
|
|
||||||
|
if not self._quit_status['crash']:
|
||||||
|
log.misc.error("ARGH, there was an exception while the crash "
|
||||||
|
"dialog is already shown:", exc_info=exc)
|
||||||
|
return
|
||||||
|
|
||||||
self._quit_status['crash'] = False
|
self._quit_status['crash'] = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user