Author: ashaposhnikov
Date: Wed Jul 19 11:35:46 2017
New Revision: 75376
URL:
http://svn.reactos.org/svn/reactos?rev=75376&view=rev
Log:
[RAPPS] Fixed multiple redraws of the apps list
Modified:
branches/GSoC_2017/rapps/reactos/base/applications/rapps/gui.cpp
Modified: branches/GSoC_2017/rapps/reactos/base/applications/rapps/gui.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2017/rapps/reactos/base/ap…
==============================================================================
--- branches/GSoC_2017/rapps/reactos/base/applications/rapps/gui.cpp [iso-8859-1]
(original)
+++ branches/GSoC_2017/rapps/reactos/base/applications/rapps/gui.cpp [iso-8859-1] Wed Jul
19 11:35:46 2017
@@ -555,7 +555,7 @@
CMainWindow() :
m_ClientPanel(NULL),
pLink(NULL),
- SearchEnabled(TRUE)
+ SearchEnabled(FALSE)
{
}
private:
@@ -574,7 +574,7 @@
szText.LoadStringW(hInst, IDS_APP_DESCRIPTION);
m_ListView->AddColumn(3, szText, 250, LVCFMT_LEFT);
- UpdateApplicationsList(ENUM_ALL_COMPONENTS);
+ //UpdateApplicationsList(ENUM_ALL_COMPONENTS);
}
HTREEITEM AddCategory(HTREEITEM hRootItem, UINT TextIndex, UINT IconIndex)
@@ -1068,7 +1068,8 @@
if (wParam == SEARCH_TIMER_ID)
{
::KillTimer(hwnd, SEARCH_TIMER_ID);
- UpdateApplicationsList(-1);
+ if(SearchEnabled)
+ UpdateApplicationsList(-1);
}
break;
}