From: Jens Axboe Date: Tue, 20 Mar 2012 11:09:13 +0000 (+0100) Subject: goptions: remember to mark option index for FIO_OPT_STR_VAL X-Git-Tag: gfio-0.1~88 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=1c2d868bf950cac4593aa9576b8ca22a25843f78 goptions: remember to mark option index for FIO_OPT_STR_VAL Fixes hiding of these options. Signed-off-by: Jens Axboe --- diff --git a/goptions.c b/goptions.c index 52a58bea..49da0019 100644 --- a/goptions.c +++ b/goptions.c @@ -640,6 +640,7 @@ static struct gopt *gopt_new_str_val(struct fio_option *o, label = gtk_label_new(o->name); else label = gtk_label_new(o->lname); + gopt_mark_index(&g->gopt, idx); g->spin = gtk_spin_button_new_with_range(0.0, 1023.0, 1.0); gtk_spin_button_set_update_policy(GTK_SPIN_BUTTON(g->spin), GTK_UPDATE_IF_VALID);