Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] Bug 139666

Thanks Randy! That's a great solution. Sometimes I miss the forest for
the trees.
The Logic example should probably be updated to do the same since it
also exhibits this behavior due to using indices.

David Dubrow
david.dubrow@xxxxxxxxx

>David, you can avoid the index problem by not storing the index in your
>command.  Instead, store a reference to the model sibling that should
come
>immediately after the child being reodered.  In other words, do a "move
>before x" instead of a "move to index y".
>
>-Randy


Back to the top