QmlDesigner: Fix crash

The workaround for QTBUG-75847 is crashing in some cases.
To avoid being in an illegal state we have to reset the
property editor synchronously

Task-number: QDS-1028
Change-Id: I487abf8dcfd9f8f0e83a25fe583e6337dcf8dc24
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2019-08-28 12:33:16 +02:00
parent c61702fca4
commit 3d5beb59a4

View File

@@ -789,7 +789,7 @@ void PropertyEditorView::reloadQml()
}
m_qmlBackEndForCurrentType = nullptr;
delayedResetView();
resetView();
}