diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/form.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/render/form.c b/render/form.c index a15b6608c..5fb5c6769 100644 --- a/render/form.c +++ b/render/form.c @@ -299,6 +299,11 @@ bool form_successful_controls(struct form *form, case GADGET_IMAGE: { /* image */ + if (control != submit_button) + /* only the activated submit button + * is successful */ + continue; + const size_t len = strlen(control->name) + 3; /* x */ |