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 <miikka.heikkinen@qt.io>
This commit is contained in:
Thomas Hartmann
2025-04-08 16:32:05 +02:00
parent b4cbea34a7
commit e577855972

View File

@@ -890,6 +890,7 @@ void PropertyEditorView::modelAttached(Model *model)
if (debug)
qDebug() << Q_FUNC_INFO;
resetSelectionLocked();
resetView();
}