Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
profile: default profile must be enabled
  • Loading branch information
perexg committed Oct 9, 2014
1 parent 9d0c46d commit 3860305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/profile.c
Expand Up @@ -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);
Expand Down

0 comments on commit 3860305

Please sign in to comment.