(self, message: str)
| 317 | self._show_error_dialog(_("Error"), message) |
| 318 | |
| 319 | def _show_toast(self, message: str): |
| 320 | logging.info(f"Toast: {message}") |
| 321 | if self.main_window and hasattr(self.main_window, "show_toast"): |
| 322 | try: |
| 323 | self.main_window.show_toast(message) |
| 324 | return |
| 325 | except Exception: |
| 326 | pass |
| 327 | self._show_error_dialog(_("Info"), message) |
| 328 | |
| 329 | |
| 330 | def main(): |
nothing calls this directly
no test coverage detected