Skip to content
Snippets Groups Projects
Commit ee1aba7a authored by Maximiliano Sandoval R's avatar Maximiliano Sandoval R Committed by Bastien Nocera
Browse files

settings: Set switch to sensitive on errors

We want the user to be able to interact with the switch after the
attempt to connect has failed and we can start anew.
parent 8d86dc38
Branches
Tags
No related merge requests found
......@@ -888,6 +888,9 @@ connect_callback (GObject *source_object,
data->timeout_id = g_timeout_add (500, connect_timeout_cb, data);
return;
}
set_connecting_state (data->self, CONNECTING_STATE_IDLE);
g_debug ("Failed to connect to device %s: %s", data->device, error->message);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment