Commit 172f25d9 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Tim Jenssen

QmlDesigner: Fix crash

We have to forward the event to GraphicsView in any case.

Task-number: QTCREATORBUG-19064
Change-Id: I50e7fc73dca4d8aa5deaf2be7bec5fb89778111d
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent bc9cea81
......@@ -144,9 +144,9 @@ void FormEditorGraphicsView::keyReleaseEvent(QKeyEvent *event)
void FormEditorGraphicsView::paintEvent(QPaintEvent *event)
if (!m_blockPainting) {
} else {
if (m_blockPainting) {
QPainter painter(viewport());
painter.drawPixmap(0, 0, m_lastUpdate);
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