Commit 191c8909 authored by Anthony Fieroni's avatar Anthony Fieroni Committed by Kurt Hindenburg

[TerminalDisplay] Abort painting invalid rect

REVIEW: 129914
Signed-off-by: Anthony Fieroni's avatarAnthony Fieroni <bvbfan@abv.bg>
(cherry picked from commit d8b242f3)
parent 25321cd0
......@@ -1750,7 +1750,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