Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
aca9a8d95f1fa9c29a7650d528616a0962732db3
Description
The following code should not trigger onNameChanged (We should also check that the model does not emit itemsChanged() for the same case):
import QtQuick 1.0 Rectangle { id: wrapper width: 200; height: 200 property variant items; ListModel { id: lm ListElement { name: "hello" } } Connections { target: lm.get(0) onNameChanged: console.log("here " + lm.get(0).name) } Component.onCompleted: lm.setProperty(0, "name", "hello") }