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

Add host search #8

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add host search #8

wants to merge 3 commits into from

Conversation

rhgndf
Copy link
Contributor

@rhgndf rhgndf commented Oct 30, 2024

Add a search box to the hosts dropdown, since its quite long.

image

Also, I'm not familiar with QML, so I'm not sure if this is the best way of doing it.

@nostar
Copy link
Owner

nostar commented Jan 22, 2025

I've tried this out a few times but I cant select anything. I can search to a host but clicking on it to select it doesnt ever select it.

@rhgndf
Copy link
Contributor Author

rhgndf commented Jan 23, 2025

That's weird, for some reason the binding under contentItem: text: _comboHost.selectedHost somehow broke. I'm not sure how that happened, so I added some code to forcefully update it on each list item close.

I'm not too familiar with QML, so you might be able to find a more elegant way to implement this searchbox dropdown.

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