refactor: give clear feedback on unmanaged network interface situations

This commit is contained in:
Alfredo Monclus committed 2026-03-08 12:13:51 -03:00
1 parent 9cdc4b66b7
commit a9aa507436
1 file changed
+3
+3
View File
@@ -103,6 +103,9 @@ class SdbusNm:
self.monitor_connection = False
self.wifi_state = -1
self.popup = popup_callback
if self.wlan_device.state == enums.DeviceState.UNMANAGED:
self.popup(f"{iface_name} is not managed by NetworkManager and cannot be controlled by this app")
return
def ensure_nm_running(self):
try: