Skip to content
Snippets Groups Projects
Commit dc1ce254 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.copyNPaste: fix for Components and default properties

To handle defaultProperties correctly in the text buffer for
copy n paste we have to forward the meta system.
Since the text buffer is not a qml document in Qt Creator
with all the infrastructure attached the meta system is
incomplete.
So we forward in these cases the meta system of the actual document.

Model::create() now gets an additional paramater where we can specify another
model for proxying the meta system.

Reviewed-by: Kai Koehne
parent ca1f5707
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment