From e577855972bdec7fb34f711876bd903d73b13ffa Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 8 Apr 2025 16:32:05 +0200 Subject: [PATCH] QmlDesigner: call resetSelectionLocked() when attaching new model This ensures that the property editor is not staying locked, when switching files. Change-Id: Iaa2b6333fb51b61eaeb78b973704d0f6546dec3e Reviewed-by: Miikka Heikkinen --- .../qmldesigner/components/propertyeditor/propertyeditorview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp index d532a2b2e83..6aef3705439 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp @@ -890,6 +890,7 @@ void PropertyEditorView::modelAttached(Model *model) if (debug) qDebug() << Q_FUNC_INFO; + resetSelectionLocked(); resetView(); }