Skip Wine polling when helper is unavailable
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user