Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show tree node if header matches search text #326

Merged

Conversation

FroggieFrog
Copy link
Collaborator

This PR tweaks the search to check the header of the nodes when searching.
Before if there was no child matching the search the node was hidden.
After if there is no child matching the search the node is visible. To avoid cluttering the tree the node is not expanded.

If there is a demand to not check the header it is possible to add a new option to the preferences window.

Before:

before

After:

after

@FroggieFrog FroggieFrog added enhancement New feature or request preset tree-view features or issues affecting the preset tree view labels Jun 2, 2021
@FroggieFrog FroggieFrog added this to the Anno Designer 9.1 Release milestone Jun 2, 2021
@FroggieFrog FroggieFrog merged commit b3ac666 into AnnoDesigner:master Jun 10, 2021
@FroggieFrog FroggieFrog deleted the search-respect-node-header branch June 10, 2021 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preset tree-view features or issues affecting the preset tree view
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant