summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-08-28 12:33:16 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-08-28 14:02:31 +0000
commit3d5beb59a4b6f96ee1bdf8f01124d1da1569fb11 (patch)
tree7b2595482841ea157480fe93581663bdef003569
parentc61702fca43bf8cdb53d1d87d785e4a0992cbd28 (diff)
downloadqt-creator-3d5beb59a4b6f96ee1bdf8f01124d1da1569fb11.tar.gz
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>
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp
index cacdab072e..87c281a997 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();
}