in client/securedrop_client/gui/conversation/export/export_wizard_page.py [0:0]
def on_status_received(self, status: ExportStatus) -> None:
self.status = status
self.stop_animate_header()
header = _("Ready to export:<br />" '<span style="font-weight:normal">{}</span>').format(
self.summary
)
self.header.setText(header)
self.set_complete(True)
self.completeChanged.emit()
if self.wizard() and isinstance(self.wizard().currentPage(), PreflightPage):
# Let users skip preflight screen if they have already seen it. The first time a status
# is received, autoskip is False, and a user has to manually click "Continue";
# after that, it's True.
if self.should_autoskip_preflight():
self.wizard().next()
else:
self.set_should_autoskip_preflight(True)