1
0

qt exc reporter: add FIXME re HTML tags in traceback

This commit is contained in:
SomberNight
2020-02-17 19:44:12 +01:00
parent 16626a3386
commit b50c47c5ce

View File

@@ -58,6 +58,8 @@ class Exception_Window(BaseCrashReporter, QWidget, MessageBoxMixin, Logger):
main_box.addWidget(QLabel(BaseCrashReporter.REQUEST_HELP_MESSAGE))
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(
lambda: self.msg_box(QMessageBox.NoIcon,
self, _("Report contents"), self.get_report_string(),