fix(#1707): hide module when no controller found
parent
2d7e21ed7d
commit
be28ee3d7e
|
@ -101,6 +101,7 @@ waybar::modules::Bluetooth::Bluetooth(const std::string& id, const Json::Value&
|
|||
} else {
|
||||
spdlog::error("findCurController() failed: no bluetooth controller found");
|
||||
}
|
||||
event_box_.hide()
|
||||
return;
|
||||
}
|
||||
findConnectedDevices(cur_controller_.path, connected_devices_);
|
||||
|
|
Loading…
Reference in New Issue