summaryrefslogtreecommitdiff
path: root/lib-contact/ct-list/src/CtListView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib-contact/ct-list/src/CtListView.cpp')
-rwxr-xr-xlib-contact/ct-list/src/CtListView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib-contact/ct-list/src/CtListView.cpp b/lib-contact/ct-list/src/CtListView.cpp
index c4fef11..170282e 100755
--- a/lib-contact/ct-list/src/CtListView.cpp
+++ b/lib-contact/ct-list/src/CtListView.cpp
@@ -1768,6 +1768,9 @@ void CtListView::__updateCheckRelatedInfo()
if (__ctrlType == LIST_CTRL_REMOVE_FAVORITES) {
maxCount += __listModel->getPersonListCount(LIST_QUERY_MFC);
}
+ int limitCount = __listModel->getLimitCount();
+ if(limitCount > 0 && limitCount < maxCount)
+ maxCount = limitCount;
if (checkedIdNum == maxCount) {
__selectAllState = CHECK_ON;