ui/common/context.c

changeset 1168
2f9d8af6a499
parent 1167
f0e901f7d1b7
child 1169
c69f2941d536
equal deleted inserted replaced
1167:f0e901f7d1b7 1168:2f9d8af6a499
464 case UI_VAR_LIST: { 464 case UI_VAR_LIST: {
465 UiList *f = from; 465 UiList *f = from;
466 UiList *t = to; 466 UiList *t = to;
467 uic_list_copy(f, t); 467 uic_list_copy(f, t);
468 ui_list_update(t); 468 ui_list_update(t);
469 if(t->setselection && t->saved_selection) {
470 t->setselection(t, *t->saved_selection);
471 }
472 ui_list_selection_free(t->saved_selection);
473 t->saved_selection = NULL;
469 break; 474 break;
470 } 475 }
471 case UI_VAR_RANGE: { 476 case UI_VAR_RANGE: {
472 UiRange *f = from; 477 UiRange *f = from;
473 UiRange *t = to; 478 UiRange *t = to;

mercurial