Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Src/LexText/Interlinear/FocusBoxController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private void ChangeOrCreateSandbox(AnalysisOccurrence selected)
int color = (int)CmObjectUi.RGB(DefaultBackColor);
//if this sandbox is presenting a wordform with multiple possible analyses then set the
//bg color indicator
if (selected.Analysis.Analysis == null && selected.Analysis.Wordform != null &&
if (selected.Analysis.Wordform != null &&
SandboxBase.GetHasMultipleRelevantAnalyses(selected.Analysis.Wordform))
{
color = InterlinVc.MultipleApprovedGuessColor;
Expand Down
3 changes: 1 addition & 2 deletions Src/LexText/Interlinear/SandboxBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,8 +1210,7 @@ private bool LoadRealDataIntoSec1(int hvoSbWord, bool fLookForDefaults, bool fAd
//set the color before we fidle with our the wordform, it right for this purpose now.
if ((m_occurrenceSelected == null ||
m_occurrenceSelected.Analysis == null ||
(m_occurrenceSelected.Analysis.Analysis == null &&
m_occurrenceSelected.Analysis.Wordform != null)) &&
m_occurrenceSelected.Analysis.Wordform != null) &&
GetHasMultipleRelevantAnalyses(CurrentAnalysisTree.Wordform))
{
MultipleAnalysisColor = InterlinVc.MultipleApprovedGuessColor;
Expand Down
Loading