Patch to refresh the treeview pressing F5.
If the treeview has the focus when F5 is pressed, the children of the currently selected item are refreshed. This is done by collapsing and re-expanding the currently selected item, so be aware that if more than one sub-level have been expanded they will be collapsed.
2011/01/19 Patch file updated
Patch to refresh the treeview pressing F5.
Patch to refresh the treeview pressing F5.
- Attachments
-
- patch_21__v163.7z
- (1.37 KiB) Downloaded 543 times
Re: Patch to refresh the treeview pressing F5.
2011/01/19 Patch file updated
Refresh of a treeview node is implemented as a collapse+expand of the selected node. If the selected item is not expanded, there is nothing to do. The previous version of this patch would have expanded the item and shown its children.
Refresh of a treeview node is implemented as a collapse+expand of the selected node. If the selected item is not expanded, there is nothing to do. The previous version of this patch would have expanded the item and shown its children.
-
- Site Admin
- Posts: 933
- Joined: Sat Apr 18, 2009 1:46 am
Re: Patch to refresh the treeview pressing F5.
I don't support making AddRoot() public. Move the update logic into the treeview.
Re: Patch to refresh the treeview pressing F5.
Ok, I will rework the patchDavid Erceg wrote:I don't support making AddRoot() public. Move the update logic into the treeview.
Re: Patch to refresh the treeview pressing F5.
Hi David,
I have reworked the patch and moved the refresh logic inside the Treeview.
Patch against commit 186
I have reworked the patch and moved the refresh logic inside the Treeview.
Patch against commit 186
- Attachments
-
- patch_21__v186.7z
- (1.25 KiB) Downloaded 506 times