fix issue where shelf list in shelf config dialog would remain disabled after adding a new shelf

SVN revision: 76259
This commit is contained in:
Mike Blumenkrantz 2012-09-06 18:32:50 +00:00
parent d28abd0421
commit 41e08dfb50
1 changed files with 2 additions and 1 deletions

View File

@ -358,12 +358,13 @@ _ilist_fill(E_Config_Dialog_Data *cfdata)
if (n > -1)
{
_widgets_disable(cfdata, 0, EINA_FALSE);
_widgets_disable(cfdata, 0, EINA_TRUE);
e_widget_ilist_selected_set(cfdata->o_list, n);
}
else
{
_widgets_disable(cfdata, 1, EINA_FALSE);
e_widget_disabled_set(cfdata->o_list, 0);
e_widget_disabled_set(cfdata->o_add, 0);
}
}