Skip Wine polling when helper is unavailable

This commit is contained in:
Storm Dragon
2026-07-17 18:18:11 -04:00
parent c9f56cb7ed
commit 1014595930
@@ -26,7 +26,7 @@ class WineAccessibility(Plugin):
self._refresh_manager_settings()
if self._setting("wineAccessibilityEnabled") and self._setting(
"wineAccessibilityAutoManage"
):
) and self.manager.helperPath:
self.manager.poll()
self.pollSourceId = GLib.timeout_add(self.manager.POLL_INTERVAL_MS, self.manager.poll)