gschem: expand component tree after filtering
commit371bd6130c77ae0d671ade3a82410f9a3a6105c3
authorKrzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com>
Sun, 2 Jan 2011 23:40:03 +0000 (3 00:40 +0100)
committerPeter TB Brett <peter@peter-b.co.uk>
Mon, 3 Jan 2011 23:34:07 +0000 (3 23:34 +0000)
tree508b7361c89e35aa6e130a5cacb07edac9856e65
parent1e93f7bea2cbe0fa8887337c261093b55c31dd6d
gschem: expand component tree after filtering

This patch changes the behavior of the component selection dialog.
After filtering by name is applied the tree view of matching components
is automatically expanded so that all leafs are immediately selectable.
The tree view is collapsed when the filter is cleared.

Reviewed-by: Peter TB Brett <peter@peter-b.co.uk>
gschem/src/x_compselect.c