mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[RAPPS] Fixed multiple redraws of the apps list
svn path=/branches/GSoC_2017/rapps/; revision=75376
This commit is contained in:
parent
f07567454b
commit
bbc5642138
|
@ -555,7 +555,7 @@ public:
|
|||
CMainWindow() :
|
||||
m_ClientPanel(NULL),
|
||||
pLink(NULL),
|
||||
SearchEnabled(TRUE)
|
||||
SearchEnabled(FALSE)
|
||||
{
|
||||
}
|
||||
private:
|
||||
|
@ -574,7 +574,7 @@ private:
|
|||
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 @@ private:
|
|||
if (wParam == SEARCH_TIMER_ID)
|
||||
{
|
||||
::KillTimer(hwnd, SEARCH_TIMER_ID);
|
||||
UpdateApplicationsList(-1);
|
||||
if(SearchEnabled)
|
||||
UpdateApplicationsList(-1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue