Use direct calling in report mode

This commit is contained in:
atse 2023-08-01 13:33:38 +08:00
parent 967492642e
commit 169b89208d
1 changed files with 2 additions and 1 deletions

View File

@ -518,7 +518,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
async def report_mode(self): async def report_mode(self):
async for report in self.client.report_mode(): async for report in self.client.report_mode():
self.client_watcher.report_update.emit(report) self.plot(report)
self.update_report(report)
async def stop_report_mode(self): async def stop_report_mode(self):
if self.report_mode_task is not None: if self.report_mode_task is not None: