Commit d8b242f3 authored by Anthony Fieroni's avatar Anthony Fieroni

[TerminalDisplay] Abort painting invalid rect

REVIEW: 129914
Signed-off-by: Anthony Fieroni's avatarAnthony Fieroni <bvbfan@abv.bg>
parent affe837b
......@@ -1757,7 +1757,8 @@ void TerminalDisplay::updateCursor()
void TerminalDisplay::resizeEvent(QResizeEvent*)
{
updateImageSize();
if (contentsRect().isValid())
updateImageSize();
}
void TerminalDisplay::propagateSize()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment