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:
Maarten Bosma 2006-12-24 15:30:50 +00:00
parent 1ee33be807
commit 8b602f059f

View file

@ -73,6 +73,7 @@ void CategoryChoosen (HWND hwnd, struct Category* Category)
ShowMessage(Category->Name, Strings[IDS_NO_APPS]);
(void)TreeView_DeleteItem(hwnd, TVI_ROOT);
(void)TreeView_DeleteItem(hwnd, TVI_ROOT); // Delete twice to bypass bug in windows
TV_INSERTSTRUCTW Insert;
Insert.item.mask = TVIF_TEXT|TVIF_PARAM;