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

Fixed broken context search and hide empty categories from filter. #360

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

rayment
Copy link
Contributor

@rayment rayment commented Jan 9, 2023

Searching through the context menu was broken after 883e8a0 due to a mis-comparison on node data that is never inserted, returning no results. This has been fixed by correctly comparing against QTreeWidgetItem::text.

Furthermore, the filtering system has been changed to hide empty categories, showing only those that are relevant (contain matching nodes).

New filter demonstration

Tested on Gentoo Linux, kernel 6.1.0, Qt 5.15.7

Searching through the context menu was broken after 883e8a0 due to a
mis-comparison on node data that is never inserted. This has been fixed
by correctly comparing QTreeWidgetItem::text.

Furthermore, the filtering system has been changed to hide empty
categories, showing only those that are relevant (contain matching
nodes).

Signed-off-by: Finn Rayment <finn@rayment.fr>
@rayment
Copy link
Contributor Author

rayment commented Jan 9, 2023

Tested also on Windows Server 2022 10.0.20348 Build 20348, Qt 5.15.2.

Fixed filtering on Windows

@paceholder paceholder merged commit b4f51e1 into paceholder:master Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants