mirror of https://github.com/saitohirga/WSJT-X.git
Clear block background colour when starting a new decode window line
This commit is contained in:
parent
8215f3412b
commit
dc3e62d499
|
@ -121,7 +121,7 @@ void DisplayText::appendText(QString const& text, QColor bg, QColor fg
|
|||
auto block_format = cursor.blockFormat ();
|
||||
auto format = cursor.blockCharFormat ();
|
||||
format.setFont (char_font_);
|
||||
format.clearBackground ();
|
||||
block_format.clearBackground ();
|
||||
if (bg.isValid ())
|
||||
{
|
||||
block_format.setBackground (bg);
|
||||
|
|
Loading…
Reference in New Issue