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

Fix LT-21980: Crash changing or modifying grammatical info #235

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

jtmaxwell3
Copy link
Collaborator

@jtmaxwell3 jtmaxwell3 commented Dec 12, 2024

I created BeforeChange and AfterChange events to delay the refresh of the data tree. BeforeChange sets DoNotRefresh and AfterChange adds RefreshDataTree to the UI thread's queue. I tried using BeforeSelect and AfterSelect, but there are actually two calls to AfterSelect and it wasn't clear that I could catch only the second call. Also, it would force a refresh of the data tree even if nothing was changed.


This change is Reviewable

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jtmaxwell3)

@jtmaxwell3 jtmaxwell3 merged commit eb4a00b into release/9.1 Dec 12, 2024
5 checks passed
@jtmaxwell3 jtmaxwell3 deleted the LT-21980 branch December 12, 2024 17:46
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.

3 participants