Hey Rogier, 2009/5/28 Rogier Schouten <[email protected]>: > Hi, > > I have a WTreeView showing a WStandardItemModel. It is initialized like > this: > > mModel = new WStandardItemModel(aParent); > mTreeView->setModel(mModel); > mTreeView->setHeaderHeight(0); > mTreeView->setRowHeight(20); > mTreeView->setAlternatingRowColors(false); > mTreeView->setRootIsDecorated(true); > mTreeView->setSelectionBehavior(SelectItems); > mTreeView->setSelectionMode(ExtendedSelection); > mTreeView->setDragEnabled(false); > mTreeView->setDropsEnabled(false); > mModel->setSortRole(UserRole + 1); > > When the user selects an item, this is OK. However, when the user now > selects another item (INSTEAD of the current one, not additional), there > is an access violation with the attached stack trace. It seems that the > clearSelection() method does not work.
Oops, you are right. The current git fixes this. Regards, koen ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
