diff options
Diffstat (limited to 'src/schemes/about/profiles.c')
-rw-r--r-- | src/schemes/about/profiles.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index 3cb0709..eb9454b 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -125,6 +125,12 @@ edit_profiles(MqProfiles *profiles, GHashTable *query) mq_profiles_set_name(profiles, id, g_hash_table_lookup(query, input_key)); g_free(input_key); + } else { + input_key = g_strconcat("name_", id, NULL); + mq_profiles_insert(profiles, + g_hash_table_lookup(query, input_key), + "#00ff00"); + g_free(input_key); } } else if (g_str_has_prefix(key->data, "delete_")) { id = (gchar *) key->data + strlen("delete_"); |