On Tue, Jan 5, 2010 at 09:51, <i...@saksys.de> wrote:

> Thx,
>
> but is this behavior a bug or not?
>

I don't see any bug, although you might argue there is a missing feature. We
could conceivably add a method to clone the data model of a tree, and that
method would reset the selected flag of any nodes that were selected in the
cloned tree. That method would do exactly what you've done here (including
my added loop). I think it's a rare enough occurrence to need such a thing,
though, that I'd opt not to include it as a standard method.

Hmmm... Thinking about it a bit more, I wonder if it is in fact a bug that
with bSelected true for that node in treeB, that the node didn't visibly
show that it was selected. The whole purpose of having bSelected in the data
model is to allow the user to pre-select certain nodes. Maybe there is a bug
here. Would you please post a bug report to bugzilla regarding this.

Thanks,

Derrell
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to