summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-08 11:52:40 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-08 11:52:40 (EST)
commit05904c6e9fa9d433d1c0c48b5ad4af6bdc0121a8 (patch)
tree4e521c9835f7f1065552388cceb07a88b05ee624
parentfbd780ab7483b5bded72ab6a9cb012941637b8c8 (diff)
downloadmarquee-05904c6e9fa9d433d1c0c48b5ad4af6bdc0121a8.zip
marquee-05904c6e9fa9d433d1c0c48b5ad4af6bdc0121a8.tar.gz
marquee-05904c6e9fa9d433d1c0c48b5ad4af6bdc0121a8.tar.bz2
about:profiles: Enable autofocus on name <input> if adding
-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 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)),