From: Jaroslav Kysela Date: Thu, 9 Oct 2014 18:33:28 +0000 (+0200) Subject: profile: default profile must be enabled X-Git-Tag: v4.1~1099 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38603050f03fee67d4301d59a33f06a6d71fae44;p=thirdparty%2Ftvheadend.git profile: default profile must be enabled --- diff --git a/src/profile.c b/src/profile.c index 631f032eb..2a2bd9087 100644 --- a/src/profile.c +++ b/src/profile.c @@ -125,6 +125,8 @@ profile_class_save ( idnode_t *in ) { profile_t *pro = (profile_t *)in; htsmsg_t *c = htsmsg_create_map(); + if (pro == profile_default) + pro->pro_enabled = 1; idnode_save(in, c); if (pro->pro_shield) htsmsg_add_bool(c, "shield", 1);