From c714fb8b6171e1b8e95836693eadba801c7473f6 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 21 Apr 2020 16:02:45 +0100 Subject: [PATCH] e lang wiz - add sys default as first item properly... --- src/modules/wizard/page_010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/wizard/page_010.c b/src/modules/wizard/page_010.c index 0540a3eab..33cff7eb5 100644 --- a/src/modules/wizard/page_010.c +++ b/src/modules/wizard/page_010.c @@ -225,7 +225,7 @@ wizard_page_show(E_Wizard_Page *pg EINA_UNUSED) found = 1; elm_genlist_item_append(ob, &itc, pair, NULL, 0, _lang_select, pair); } - if (!found) + if (found) elm_genlist_item_prepend(ob, &itc, NULL, NULL, 0, _lang_select, NULL); if ((!found) && (elm_genlist_items_count(ob) == 2)) // default and one other elm_genlist_item_selected_set(elm_genlist_last_item_get(ob), 1);