We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5fb17a commit ae13236Copy full SHA for ae13236
1 file changed
Src/LexText/LexTextControls/MSAGroupBox.cs
@@ -743,8 +743,8 @@ private IEnumerable<IMoInflAffixSlot> GetSlots()
743
if (m_morphType == null)
744
{
745
// Not called by InsertEntryDlg; need to figure out the morphtype(s)
746
- var lex = m_propertyTable.GetValue<ILexEntry>("ActiveClerkSelectedObject");
747
- if (lex != null)
+ var obj = m_propertyTable.GetValue<ICmObject>("ActiveClerkSelectedObject");
+ if (obj is ILexEntry lex)
748
749
return DomainObjectServices.GetSlots(m_cache, lex, m_selectedMainPOS);
750
}
0 commit comments