--- a/ui/common/context.c Thu Jun 04 19:22:54 2026 +0200 +++ b/ui/common/context.c Thu Jun 04 19:59:58 2026 +0200 @@ -466,6 +466,11 @@ UiList *t = to; uic_list_copy(f, t); ui_list_update(t); + if(t->setselection && t->saved_selection) { + t->setselection(t, *t->saved_selection); + } + ui_list_selection_free(t->saved_selection); + t->saved_selection = NULL; break; } case UI_VAR_RANGE: {