Revision: 3515 http://vexi.svn.sourceforge.net/vexi/?rev=3515&view=rev Author: clrg Date: 2009-06-04 17:04:48 +0000 (Thu, 04 Jun 2009)
Log Message: ----------- Allow for non-selectable children in a selectlist Modified Paths: -------------- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectlist.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectlist.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectlist.t 2009-05-27 14:34:53 UTC (rev 3514) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/selectlist.t 2009-06-04 17:04:48 UTC (rev 3515) @@ -84,6 +84,8 @@ // no group yet, create one } else { g = c.group; + // not a selectable + if (g==null) return; if (trapee.th_scroll) g.selected ++= trapee.syncView; t.v_listgroup = g; // respect selected state of c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn