diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/network/connection-editor/net-connection-editor.c index 91ba0709a..c51667f83 100644 --- a/panels/network/connection-editor/net-connection-editor.c +++ b/panels/network/connection-editor/net-connection-editor.c @@ -213,7 +213,8 @@ device_reapply_cb (GObject *source_object, gboolean success = TRUE; if (!nm_device_reapply_finish (NM_DEVICE (source_object), res, &error)) { - g_warning ("Failed to reapply changes on device: %s", error->message); + if (!g_error_matches (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_NOT_ACTIVE)) + g_warning ("Failed to reapply changes on device: %s", error->message); success = FALSE; }