From bc101de4147c15d6118023545edb5564125d119a Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 11 Oct 2012 18:37:18 +0000 Subject: [PATCH] MUIM_List_InsertSingle: if there's no active entry, MUIV_List_Insert_Active now leads to the new item being inserted at the top of the list (MUI behaviour). git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45896 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/libs/muimaster/classes/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/libs/muimaster/classes/list.c b/workbench/libs/muimaster/classes/list.c index cfaaa56395..dda187dc1d 100644 --- a/workbench/libs/muimaster/classes/list.c +++ b/workbench/libs/muimaster/classes/list.c @@ -2082,7 +2082,7 @@ IPTR List__MUIM_Insert(struct IClass *cl, Object *obj, if (data->entries_active != -1) pos = data->entries_active; else - pos = data->entries_num; + pos = 0; break; case MUIV_List_Insert_Sorted: -- 2.11.4.GIT