qt exc reporter: add FIXME re HTML tags in traceback
This commit is contained in:
@@ -58,6 +58,8 @@ class Exception_Window(BaseCrashReporter, QWidget, MessageBoxMixin, Logger):
|
|||||||
main_box.addWidget(QLabel(BaseCrashReporter.REQUEST_HELP_MESSAGE))
|
main_box.addWidget(QLabel(BaseCrashReporter.REQUEST_HELP_MESSAGE))
|
||||||
|
|
||||||
collapse_info = QPushButton(_("Show report contents"))
|
collapse_info = QPushButton(_("Show report contents"))
|
||||||
|
# FIXME if traceback contains special HTML characters, e.g. '<'
|
||||||
|
# then formatting issues arise (due to rich_text=True)
|
||||||
collapse_info.clicked.connect(
|
collapse_info.clicked.connect(
|
||||||
lambda: self.msg_box(QMessageBox.NoIcon,
|
lambda: self.msg_box(QMessageBox.NoIcon,
|
||||||
self, _("Report contents"), self.get_report_string(),
|
self, _("Report contents"), self.get_report_string(),
|
||||||
|
|||||||
Reference in New Issue
Block a user