Don't hide report dialog early

It looks like hiding it already causes it to be accepted.
Fixes #1128
This commit is contained in:
Florian Bruhin 2017-12-03 13:04:08 +01:00
parent f07301cfb5
commit 97054ca35d

View File

@ -348,7 +348,6 @@ class _CrashDialog(QDialog):
"but you're currently running v{} - please "
"update!".format(newest, qutebrowser.__version__))
text = '<br/><br/>'.join(lines)
self.hide()
msgbox.information(self, "Report successfully sent!", text,
on_finished=self.finish, plain_text=False)
@ -365,7 +364,6 @@ class _CrashDialog(QDialog):
"<a href=https://www.qutebrowser.org/>qutebrowser.org</a> "
"by yourself.".format(msg))
text = '<br/><br/>'.join(lines)
self.hide()
msgbox.information(self, "Report successfully sent!", text,
on_finished=self.finish, plain_text=False)