diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2020-10-05 12:04:34 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2020-10-05 12:32:26 +0000 |
commit | aeb30c0840928df1ec7117302b28bd7861a79478 (patch) | |
tree | 66b94b9ecc8efae6118711141e55d55a5eb6eee1 /share | |
parent | 35ffc930b8b69bd002e97d49d431a6408fb6c80e (diff) |
QmlDesigner: Delete existing node when property does not allow list
Some properties can only contain a single QML element. In this case
we should delete the old existing element.
This can be checked using NodeMetainfo::propertyIsListProperty.
Change-Id: I1782a38b7bfdb8a6f1078b0fa39654a4653dab59
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions