From 3b6a504d7bbb24f3f358d8b997b66f10951a39f9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 22 Jan 2015 06:58:37 +0100 Subject: [PATCH] crashdialog: Move contact info to top. See #447. --- qutebrowser/misc/crashdialog.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index db6f88b43..47091a876 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -81,13 +81,6 @@ class _CrashDialog(QDialog): self._paste_client = pastebin.PastebinClient(self) self._init_text() - info = QLabel("What were you doing when this crash/bug happened?") - self._vbox.addWidget(info) - self._info = QTextEdit(tabChangesFocus=True, acceptRichText=False) - self._info.setPlaceholderText("- Opened http://www.example.com/\n" - "- Switched tabs\n" - "- etc...") - self._vbox.addWidget(self._info, 5) contact = QLabel("I'd like to be able to follow up with you, to keep " "you posted on the status of this crash and get more " "information if I need it - how can I contact you?") @@ -104,6 +97,14 @@ class _CrashDialog(QDialog): self._contact.setPlaceholderText("Mail or IRC nickname") self._vbox.addWidget(self._contact, 2) + info = QLabel("What were you doing when this crash/bug happened?") + self._vbox.addWidget(info) + self._info = QTextEdit(tabChangesFocus=True, acceptRichText=False) + self._info.setPlaceholderText("- Opened http://www.example.com/\n" + "- Switched tabs\n" + "- etc...") + self._vbox.addWidget(self._info, 5) + self._vbox.addSpacing(15) self._debug_log = QTextEdit(tabChangesFocus=True, acceptRichText=False, lineWrapMode=QTextEdit.NoWrap)