Don't hide report dialog early
It looks like hiding it already causes it to be accepted. Fixes #1128
This commit is contained in:
parent
f07301cfb5
commit
97054ca35d
@ -348,7 +348,6 @@ class _CrashDialog(QDialog):
|
|||||||
"but you're currently running v{} - please "
|
"but you're currently running v{} - please "
|
||||||
"update!".format(newest, qutebrowser.__version__))
|
"update!".format(newest, qutebrowser.__version__))
|
||||||
text = '<br/><br/>'.join(lines)
|
text = '<br/><br/>'.join(lines)
|
||||||
self.hide()
|
|
||||||
msgbox.information(self, "Report successfully sent!", text,
|
msgbox.information(self, "Report successfully sent!", text,
|
||||||
on_finished=self.finish, plain_text=False)
|
on_finished=self.finish, plain_text=False)
|
||||||
|
|
||||||
@ -365,7 +364,6 @@ class _CrashDialog(QDialog):
|
|||||||
"<a href=https://www.qutebrowser.org/>qutebrowser.org</a> "
|
"<a href=https://www.qutebrowser.org/>qutebrowser.org</a> "
|
||||||
"by yourself.".format(msg))
|
"by yourself.".format(msg))
|
||||||
text = '<br/><br/>'.join(lines)
|
text = '<br/><br/>'.join(lines)
|
||||||
self.hide()
|
|
||||||
msgbox.information(self, "Report successfully sent!", text,
|
msgbox.information(self, "Report successfully sent!", text,
|
||||||
on_finished=self.finish, plain_text=False)
|
on_finished=self.finish, plain_text=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user