On Monday 15 March 2010 05:47:38 am Koen Deforche wrote:
> Hey mike,
> 
> 2010/3/15 Mike Teehan <[email protected]>:
> > Hello everyone,
> >
> > Quick selection question:  how do I reset my WTreeView's selection to
> > nothing? I have tried "view->select( WModelIndex() )" but it segfaults.
> >  I also tried calling "view->select( selectedindex, Wt::Deselect )" which
> > produced an javascript error in Firefox 3.5.
> >
> > I'll gladly provide more details if necessary.
> 
> The JavaScript error is definitely a bug, a reproducible test case
> would be welcome.
> 
> The proper way to clear the selection, is
>  setSelectedIndexes(WModelIndexSet())
> 
> Regards,
> koen
> 

Koen,
Now that I am clearing the selection properly, I'm not having anymore 
problems.  I have also updated to the git version of Wt and will be glad to 
write testcases for any bugs I find in the up-to-date source.

Thanks,
Mike

> ---------------------------------------------------------------------------
> --- Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
> 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to