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

New words are not highlighted #4

Closed
thelabcat opened this issue Apr 25, 2024 · 2 comments
Closed

New words are not highlighted #4

thelabcat opened this issue Apr 25, 2024 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@thelabcat
Copy link
Owner

There's a feature that is supposed to highlight a new word when it is added, but this hasn't been working. Probably the GUI needs to run one update loop first.

@thelabcat thelabcat added bug Something isn't working enhancement New feature or request labels Apr 25, 2024
@thelabcat
Copy link
Owner Author

Proposed solution: If I can't find out why the list isn't updating to include the new word, I could manually change the search query to the new word.

thelabcat added a commit that referenced this issue Apr 27, 2024
@thelabcat
Copy link
Owner Author

Solved. The word WAS in the query list, but it wasn't being highlighted, and it wasn't being scrolled to.

  • Changed listbox.activate() call to listbox.selection_set()
  • Added listbox.yview() call to scroll to the new word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant