Try to move this line: anchors { left: parent.left; right: parent.right } from SendComponent.qml to Repeater, and access directly to its id, something like: anchors { left: myRepeater.left; right: myRepeater.right }
Seems that Repeater sets "parent" property of item to null before deletion. 2016-01-28 13:08 GMT+03:00 Sam Bull <sam.hack...@sent.com>: > On Thu, 2016-01-28 at 12:56 +0300, Roman Shchekin wrote: > > Can you provide full example? Seems that you are doing something > > wrong. > > The component is here: > http://bazaar.launchpad.net/~dreamsorcerer/bitcoin-app/python/view/head > :/qml/SendComponent.qml#L6 > > Which has a delete action a few lines down: > http://bazaar.launchpad.net/~dreamsorcerer/bitcoin-app/python/view/head > :/qml/SendComponent.qml#L17 > > And, the component is used as a delegate here: > http://bazaar.launchpad.net/~dreamsorcerer/bitcoin-app/python/view/head > :/qml/SendPage.qml#L51
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp