From 0c6af7a5f3a19a1743edfd96fee3d4740cb0c532 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 26 Dec 2014 13:01:19 +0100 Subject: [PATCH] Move debug log to bottom in crash dialog. Closes #365. --- qutebrowser/misc/crashdialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index ca57255e4..7d167283f 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -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):