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 ------------------------------------------------------------------------------ Download Intel® 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
