Skip to content

Fixes LT-22404: Crash when selecting a category in Create New Gram Info#665

Merged
jtmaxwell3 merged 2 commits intomainfrom
LT-22404
Feb 6, 2026
Merged

Fixes LT-22404: Crash when selecting a category in Create New Gram Info#665
jtmaxwell3 merged 2 commits intomainfrom
LT-22404

Conversation

@jtmaxwell3
Copy link
Collaborator

@jtmaxwell3 jtmaxwell3 commented Feb 6, 2026

This fixes https://jira.sil.org/browse/LT-22404.


This change is Reviewable

var lex = m_propertyTable.GetValue<ILexEntry>("ActiveClerkSelectedObject");
if (lex != null)
var obj = m_propertyTable.GetValue<ICmObject>("ActiveClerkSelectedObject");
if (obj != null && obj is ILexEntry lex)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the null check is redundant.

@jtmaxwell3 jtmaxwell3 merged commit ae13236 into main Feb 6, 2026
4 checks passed
@jtmaxwell3 jtmaxwell3 deleted the LT-22404 branch February 6, 2026 18:50
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