- fixes #262: Debugger console's background not correctly cleared before redrawn.

This commit is contained in:
Roy Qu 2024-03-14 09:02:08 +08:00
parent b5e63e3719
commit fc27fac68e
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ void QConsole::paintEvent(QPaintEvent *event)
QPainter cachePainter(mContentImage.get());
cachePainter.setFont(font());
if (viewport()->rect() == rcClip) {
painter.fillRect(rcClip, mBackground);
cachePainter.fillRect(rcClip, mBackground);
}
paintRows(cachePainter,nL1,nL2);
painter.drawImage(rcClip,*mContentImage,rcClip);