diff options
Diffstat (limited to 'src/bluez.vala')
-rw-r--r-- | src/bluez.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluez.vala b/src/bluez.vala index 9baacd5..8c8c1b6 100644 --- a/src/bluez.vala +++ b/src/bluez.vala @@ -70,6 +70,8 @@ public class Bluez: KillswitchBluetooth private void on_default_adapter_changed (string? object_path) { + supported = object_path != null; + if (object_path != null) try { debug (@"using default adapter at $object_path"); |