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

View File

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