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. I don't think I had this problem until I installed the git version of may 25th. Anyone else have this problem? Or is it my application somehow? Regards, Rogier
<<attachment: stacktrace.gif>>
------------------------------------------------------------------------------ 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
