From 73c9d940e7e0f867bfd73957774636b0eee735b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 15 Jun 2005 06:44:33 +0000 Subject: [PATCH] Now groups by system components, ie. system components are added at the bottom of the list while other teams are added at the top of the list. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13147 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/input_server/devices/keyboard/TMWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/add-ons/input_server/devices/keyboard/TMWindow.cpp b/src/add-ons/input_server/devices/keyboard/TMWindow.cpp index f6d5f6b8a6..324fdbf17b 100644 --- a/src/add-ons/input_server/devices/keyboard/TMWindow.cpp +++ b/src/add-ons/input_server/devices/keyboard/TMWindow.cpp @@ -254,7 +254,8 @@ TMView::UpdateList() if (!found) { TMListItem *item = new TMListItem(info); - fListView->AddItem(item, 0); + + fListView->AddItem(item, item->IsSystemServer() ? fListView->CountItems() : 0); item->fFound = true; changed = true; }