From e65c9ba5bb3fada909984958c52ea67b22e0ae66 Mon Sep 17 00:00:00 2001 From: Jinhwan Kim Date: Tue, 2 Apr 2013 14:45:30 +0900 Subject: [PATCH] Revert "RefreshList optimization" This reverts commit 2639927131a5dd7986360365354b3c34fb796131 --- src/ui/controls/FUiCtrl_GroupedListViewImpl.cpp | 4 ++-- src/ui/controls/FUiCtrl_ListViewImpl.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/controls/FUiCtrl_GroupedListViewImpl.cpp b/src/ui/controls/FUiCtrl_GroupedListViewImpl.cpp index 5cb1fe9..67b9c02 100644 --- a/src/ui/controls/FUiCtrl_GroupedListViewImpl.cpp +++ b/src/ui/controls/FUiCtrl_GroupedListViewImpl.cpp @@ -700,8 +700,8 @@ _GroupedListViewImpl::RefreshList(int groupIndex, int itemIndex, ListRefreshType if (needFlush) { - pListViewItem->Draw(); - pListViewItem->Show(); + Draw(); + Show(); } SetLastResultReturn(r); diff --git a/src/ui/controls/FUiCtrl_ListViewImpl.cpp b/src/ui/controls/FUiCtrl_ListViewImpl.cpp index 081d82b..c4d3a6f 100644 --- a/src/ui/controls/FUiCtrl_ListViewImpl.cpp +++ b/src/ui/controls/FUiCtrl_ListViewImpl.cpp @@ -672,8 +672,8 @@ _ListViewImpl::RefreshList(int index, ListRefreshType type, bool needFlush) if (needFlush) { - pListViewItem->Draw(); - pListViewItem->Show(); + Draw(); + Show(); } SetLastResultReturn(r); -- 2.7.4