summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-04 21:53:49 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-04 21:53:49 (EDT)
commit1cdc5bb1e7c50bdf6875444ac586a0e272e5756f (patch)
treef6c0ac3ffffcddb46519ab16acb8b3664b55aff2 /src
parent94bb2bb2cedf02519e9bfc7d76a70d3996dfe132 (diff)
downloadmarquee-1cdc5bb1e7c50bdf6875444ac586a0e272e5756f.zip
marquee-1cdc5bb1e7c50bdf6875444ac586a0e272e5756f.tar.gz
marquee-1cdc5bb1e7c50bdf6875444ac586a0e272e5756f.tar.bz2
about:profiles: Disable default button for new profile
Diffstat (limited to 'src')
-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),