Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.3.1
-
None
Description
This code triggers the onSomethingChanged signal handler each time something is set with undefined, which it already is - this is not a change.
import QtQuick 2.3 Item { id: root property var something onSomethingChanged: { console.log("Something changed!") } Timer { running: true interval: 200 repeat: true onTriggered: { // if (root.something !== undefined) root.something = undefined; } } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-53182 QML var property emits change notification when unchanged
- Closed
- relates to
-
QTBUG-42256 Change signal emitted for empty array
- Closed