From f814a3d3ec62f122996df4709f60a926e2a8b19f Mon Sep 17 00:00:00 2001 From: Hyeonmi Date: Fri, 31 May 2013 16:58:21 +0530 Subject: [PATCH] Modified managing of checked index on _ListViewModel Change-Id: I195efc1f8f127bec6fd8fe0085f693612c625703 Signed-off-by: Hyeonmi --- src/ui/controls/FUiCtrl_ListViewModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/controls/FUiCtrl_ListViewModel.cpp b/src/ui/controls/FUiCtrl_ListViewModel.cpp index cc6c2b4..cca6eb6 100644 --- a/src/ui/controls/FUiCtrl_ListViewModel.cpp +++ b/src/ui/controls/FUiCtrl_ListViewModel.cpp @@ -722,11 +722,11 @@ _ListViewModel::RemoveItemAt(int groupIndex, int itemIndex, bool internalDestroy theIter++; } + MoveCheckedAndDisabledItemIndex(pListGroupNode, itemIndex, -1); + pListGroupNode->__itemCountInGroup--; __countOfAllItems--; - MoveCheckedAndDisabledItemIndex(pListGroupNode, itemIndex, -1); - if (pItem != null) { pListGroupNode->__items.remove(pItem); -- 2.7.4