Revision: 4293 http://vexi.svn.sourceforge.net/vexi/?rev=4293&view=rev Author: clrg Date: 2011-10-28 13:40:34 +0000 (Fri, 28 Oct 2011) Log Message: ----------- Fix. Allow for false as an option value, clear text if necessary.
Modified Paths: -------------- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/option.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/option.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/option.t 2011-10-25 17:54:59 UTC (rev 4292) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/option.t 2011-10-28 13:40:34 UTC (rev 4293) @@ -1,4 +1,4 @@ -<!-- Copyright 2009 - see COPYING for details [LGPL] --> +<!-- Copyright 2011 - see COPYING for details [LGPL] --> <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" xmlns="org.vexi.lib.role"> <meta:doc> @@ -183,8 +183,9 @@ } } } - if (!s and oldv == v) { + if (s==null and oldv == v) { // value has not changed but missing selected + if (v==null) t.text = null; return; } // assign appropriate text content This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn