Reset to default settings.
(self)
| 1438 | self.status_bar.set_port(int(self.fastapi_port.get())) |
| 1439 | |
| 1440 | def _reset_config(self): |
| 1441 | """Reset to default settings.""" |
| 1442 | if messagebox.askyesno(get_text("confirm_title"), get_text("reset_confirm")): |
| 1443 | self.fastapi_port.set(str(DEFAULT_CONFIG["fastapi_port"])) |
| 1444 | self.stream_port.set(str(DEFAULT_CONFIG["stream_port"])) |
| 1445 | self.proxy_address.set("") |
| 1446 | self.proxy_enabled.set(False) |
| 1447 | self._save_config() |
| 1448 | self._log(get_text("log_settings_reset")) |
| 1449 | |
| 1450 | def _show_about(self): |
| 1451 | """Show about dialog.""" |
nothing calls this directly
no test coverage detected