From 78dbc9fc9e1ac84564fbaadeb7d2571c2093ab98 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 4 Jan 2017 17:21:38 +0100 Subject: [PATCH] QmlDesigner: Reset property editor if root node type changes This was not an issue before, because it was not possible in the ui. Change-Id: I98e0634bdb667dae5a8589c5b1f70c2d87527ae6 Reviewed-by: Thomas Hartmann --- .../components/propertyeditor/propertyeditorview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp index b43748a51d4..97020ed4cdd 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp @@ -385,7 +385,7 @@ void PropertyEditorView::setupPanes() void PropertyEditorView::delayedResetView() { if (m_timerId == 0) - m_timerId = startTimer(100); + m_timerId = startTimer(50); } void PropertyEditorView::timerEvent(QTimerEvent *timerEvent) @@ -717,7 +717,7 @@ void PropertyEditorView::instancePropertyChanged(const QList