mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +00:00
Bypass bug in windows, by deleting the content of the applications treeview twice. (Occurs under Windows XP.)
Physicus 24.12.2006 14:31: There's a bug in downloader: when you select Internet then click on Firefox then on Games & Fun, you will find putty there. svn path=/trunk/; revision=25223
This commit is contained in:
parent
1ee33be807
commit
8b602f059f
|
@ -73,6 +73,7 @@ void CategoryChoosen (HWND hwnd, struct Category* Category)
|
||||||
ShowMessage(Category->Name, Strings[IDS_NO_APPS]);
|
ShowMessage(Category->Name, Strings[IDS_NO_APPS]);
|
||||||
|
|
||||||
(void)TreeView_DeleteItem(hwnd, TVI_ROOT);
|
(void)TreeView_DeleteItem(hwnd, TVI_ROOT);
|
||||||
|
(void)TreeView_DeleteItem(hwnd, TVI_ROOT); // Delete twice to bypass bug in windows
|
||||||
|
|
||||||
TV_INSERTSTRUCTW Insert;
|
TV_INSERTSTRUCTW Insert;
|
||||||
Insert.item.mask = TVIF_TEXT|TVIF_PARAM;
|
Insert.item.mask = TVIF_TEXT|TVIF_PARAM;
|
||||||
|
|
Loading…
Reference in a new issue