summaryrefslogtreecommitdiffstats
path: root/src/schemes/about
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemes/about')
-rw-r--r--src/schemes/about/profiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c
index 7e2bb7d..b7797d6 100644
--- a/src/schemes/about/profiles.c
+++ b/src/schemes/about/profiles.c
@@ -65,7 +65,7 @@ generate_div(MqProfiles *profiles, gchar *id)
mq_html_container("span", NULL, name, NULL),
mq_html_input_text(name_str, NULL, name),
mq_html_submit(default_str, "Make Default",
- id && mq_profiles_is_default(profiles, id)),
+ !id || mq_profiles_is_default(profiles, id)),
mq_html_submit(delete_str, "Delete", FALSE),
mq_html_label(editing_str, "Edit", FALSE),
mq_html_submit(save_str, "Save", FALSE),