Skip to content

Fix LT-22530: Error message when cutting in Concordance view#913

Merged
jtmaxwell3 merged 1 commit into
mainfrom
LT-22530
May 26, 2026
Merged

Fix LT-22530: Error message when cutting in Concordance view#913
jtmaxwell3 merged 1 commit into
mainfrom
LT-22530

Conversation

@jtmaxwell3
Copy link
Copy Markdown
Collaborator

@jtmaxwell3 jtmaxwell3 commented May 26, 2026

This fixes https://jira.sil.org/browse/LT-22530. It was crashing when there wasn't an action handler. I decided to call DeleteSelection non-undoably in this case since the user can also delete the text by typing into the selection. Not that changing the text does anything. If the user wants to start a new search, they need to use "Specify concordance criteria...".


This change is Reviewable

@github-actions
Copy link
Copy Markdown

NUnit Tests

    1 files  ±0      1 suites  ±0   10m 50s ⏱️ -18s
4 206 tests ±0  4 136 ✅ ±0  70 💤 ±0  0 ❌ ±0 
4 215 runs  ±0  4 145 ✅ ±0  70 💤 ±0  0 ❌ ±0 

Results for commit dc13206. ± Comparison against base commit 4b0a586.

Copy link
Copy Markdown
Contributor

@mark-sil mark-sil left a comment

Choose a reason for hiding this comment

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

@mark-sil reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jtmaxwell3).

@jtmaxwell3 jtmaxwell3 merged commit a898ebd into main May 26, 2026
7 checks passed
@jtmaxwell3 jtmaxwell3 deleted the LT-22530 branch May 26, 2026 19: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.

2 participants