Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Src/LexText/LexTextControls/MSAGroupBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -743,8 +743,8 @@ private IEnumerable<IMoInflAffixSlot> GetSlots()
if (m_morphType == null)
{
// Not called by InsertEntryDlg; need to figure out the morphtype(s)
var lex = m_propertyTable.GetValue<ILexEntry>("ActiveClerkSelectedObject");
if (lex != null)
var obj = m_propertyTable.GetValue<ICmObject>("ActiveClerkSelectedObject");
if (obj is ILexEntry lex)
{
return DomainObjectServices.GetSlots(m_cache, lex, m_selectedMainPOS);
}
Expand Down
Loading