From: Hyeonmi Date: Fri, 31 May 2013 11:28:21 +0000 (+0530) Subject: Modified managing of checked index on _ListViewModel X-Git-Tag: submit/tizen_2.2/20130714.153149~649 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f814a3d3ec62f122996df4709f60a926e2a8b19f;p=framework%2Fosp%2Fuifw.git Modified managing of checked index on _ListViewModel Change-Id: I195efc1f8f127bec6fd8fe0085f693612c625703 Signed-off-by: Hyeonmi --- 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);