From 05904c6e9fa9d433d1c0c48b5ad4af6bdc0121a8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 08 Nov 2017 11:52:40 -0500 Subject: about:profiles: Enable autofocus on name if adding --- diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index 1d3fecd..d5e3d61 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -297,7 +297,7 @@ generate_div(MqProfiles *profiles, gchar *id) mq_html_container("script", NULL, g_strdup(cp_script), NULL), mq_html_container("span", is_current ? "current" : NULL, name, NULL), - mq_html_input_text(name_str, NULL, name), + mq_html_input_text(name_str, NULL, name, id == NULL), mq_html_submit(launch_str, "Launch", FALSE), mq_html_submit(default_str, "Make Default", !id || mq_profiles_is_default(profiles, id)), -- cgit v0.9.1