From 3d5beb59a4b6f96ee1bdf8f01124d1da1569fb11 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 28 Aug 2019 12:33:16 +0200 Subject: [PATCH] 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 --- .../components/propertyeditor/propertyeditorview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp index cacdab072e4..87c281a9976 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp @@ -789,7 +789,7 @@ void PropertyEditorView::reloadQml() } m_qmlBackEndForCurrentType = nullptr; - delayedResetView(); + resetView(); }