Handle exceptions while crash dialog is shown correctly. Fixes #168.

This commit is contained in:
Florian Bruhin 2014-10-09 06:56:04 +02:00
parent 0e771db7f1
commit c6ccb56208

View File

@ -416,6 +416,11 @@ class Application(QApplication):
exc = (exctype, excvalue, tb)
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
try: