Merge branch 'release-2.2.0' of bitbucket.org:k1jt/wsjtx into release-2.2.0

This commit is contained in:
Joe Taylor 2020-06-01 11:49:14 -04:00
commit 3811c1c0be
1 changed files with 5 additions and 2 deletions

View File

@ -608,9 +608,12 @@ void DisplayText::highlight_callsign (QString const& callsign, QColor const& bg,
}
}
}
else if (pos != highlighted_calls_.end ())
else
{
highlighted_calls_.erase (pos);
if (pos != highlighted_calls_.end ())
{
highlighted_calls_.erase (pos);
}
QTextCursor cursor {document ()};
while (!cursor.isNull ())
{