Skip to content

Commit

Permalink
Fix loss of sense examples importing from The Combine
Browse files Browse the repository at this point in the history
LIFT exports from The Combine don't ever have examples in their senses, so the import into FLEx shouldn't remove existing examples.
  • Loading branch information
imnasnainaec authored Jan 22, 2025
1 parent 9cb20de commit 6cf2d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/LexText/LexTextControls/LiftMerger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4063,7 +4063,7 @@ private void MergeSenseExamples(ILexSense ls, CmLiftSense sense)
setUsed.Add(les.Hvo);
}
// If we're keeping only the imported data, delete any unused example.
if (m_msImport == MergeStyle.MsKeepOnlyNew || m_msImport == MergeStyle.MsTheCombine)
if (m_msImport == MergeStyle.MsKeepOnlyNew)
{
foreach (int hvo in ls.ExamplesOS.ToHvoArray())
{
Expand Down

0 comments on commit 6cf2d77

Please sign in to comment.