mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
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 block_format = cursor.blockFormat ();
|
||||||
auto format = cursor.blockCharFormat ();
|
auto format = cursor.blockCharFormat ();
|
||||||
format.setFont (char_font_);
|
format.setFont (char_font_);
|
||||||
format.clearBackground ();
|
block_format.clearBackground ();
|
||||||
if (bg.isValid ())
|
if (bg.isValid ())
|
||||||
{
|
{
|
||||||
block_format.setBackground (bg);
|
block_format.setBackground (bg);
|
||||||
|
Loading…
Reference in New Issue
Block a user