profile: default profile must be enabled
This commit is contained in:
parent
9d0c46d56e
commit
38603050f0
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue