proclist: fix small bug.

This commit is contained in:
Alastair Poole 2021-04-19 09:31:29 +01:00
parent a2a1b079a0
commit 8a20a228ee
1 changed files with 6 additions and 6 deletions

View File

@ -252,21 +252,21 @@ _field_menu_check_changed_cb(void *data, Evas_Object *obj, void *event_info)
wd = _wd;
ui = wd->ui;
wd->skip_update = 1;
f = data;
// Updating here is far too expensive. Maybe in 10 years time. :)
// f->enabled = !f->enabled;
// _content_reset(wd);
ui->proc.fields ^= (1 << f->id);
wd->skip_update = 1;
wd->fields_changed = (ui->proc.fields != config()->proc.fields);
ic = evas_object_data_get(obj, "icon");
if (!wd->fields_changed)
evas_object_hide(ic);
else
evas_object_show(ic);
{
evisum_ui_config_save(ui);
evas_object_show(ic);
}
}
static void