Move debug log to bottom in crash dialog.

Closes #365.
This commit is contained in:
Florian Bruhin 2014-12-26 13:01:19 +01:00
parent 4a632f85e0
commit 0c6af7a5f3

View File

@ -318,13 +318,14 @@ class ExceptionCrashDialog(_CrashDialog):
("Command history", '\n'.join(self._cmdhist)),
("Objects", self._objects),
]
super()._gather_crash_info()
if self._chk_log.isChecked():
try:
self._crash_info.append(
("Debug log", log.ram_handler.dump_log()))
except Exception:
self._crash_info.append(
("Debug log", traceback.format_exc()))
super()._gather_crash_info()
@pyqtSlot()
def on_chk_report_toggled(self):