Skip to content

Commit 05dd7ec

Browse files
authored
Fix LT-22235: Guess Word Gloss should use Root gloss (#421)
1 parent 327105e commit 05dd7ec

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Src/LexText/Interlinear/SandboxBase.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ private bool LoadRealDataIntoSec1(int hvoSbWord, bool fLookForDefaults, bool fAd
12651265
}
12661266
if (this.ShowMorphBundles)
12671267
{
1268+
bool hasMf = false;
12681269
var bldrError = new StringBuilder();
12691270
foreach (var mb in analysis.MorphBundlesOS)
12701271
{
@@ -1424,9 +1425,12 @@ private bool LoadRealDataIntoSec1(int hvoSbWord, bool fLookForDefaults, bool fAd
14241425
// improve performance. All the relevant data should already have
14251426
// been loaded while creating the main interlinear view.
14261427
LoadSecDataForEntry(entryReal, senseReal, hvoSbWord, cda, wsVern, hvoMbSec, fGuessing, sdaMain);
1427-
CopyLexEntryInfoToMonomorphemicWordGlossAndPos();
1428+
hasMf = true;
14281429
}
14291430
}
1431+
if (hasMf)
1432+
// Wait until all of the morphemes have been loaded (cf. LT-22235).
1433+
CopyLexEntryInfoToMonomorphemicWordGlossAndPos();
14301434
if (bldrError.Length > 0)
14311435
{
14321436
var msg = bldrError.ToString().Trim();

0 commit comments

Comments
 (0)