Skip to content

Commit

Permalink
Fix LT-21815: Yellow backgrounds not working properly (#95)
Browse files Browse the repository at this point in the history
* Fix LT-21815: Yellow backgrounds not working properly
  • Loading branch information
jtmaxwell3 authored Jun 28, 2024
1 parent 9597c0b commit 53b16bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Src/LexText/Interlinear/SandboxBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,11 @@ private bool LoadRealDataIntoSec1(int hvoSbWord, bool fLookForDefaults, bool fAd
if (analysis != null)
{
//set the color before we fidle with our the wordform, it right for this purpose now.
if (GetHasMultipleRelevantAnalyses(CurrentAnalysisTree.Wordform))
if ((m_occurrenceSelected == null ||
m_occurrenceSelected.Analysis == null ||
(m_occurrenceSelected.Analysis.Analysis == null &&
m_occurrenceSelected.Analysis.Wordform != null)) &&
GetHasMultipleRelevantAnalyses(CurrentAnalysisTree.Wordform))
{
MultipleAnalysisColor = InterlinVc.MultipleApprovedGuessColor;
}
Expand Down

0 comments on commit 53b16bd

Please sign in to comment.