Revision: 58820
          http://sourceforge.net/p/brlcad/code/58820
Author:   bob1961
Date:     2013-12-04 21:12:23 +0000 (Wed, 04 Dec 2013)
Log Message:
-----------
Minor mod to Archer::buildGeneralPreferences that now handles the possibility 
of the call to buildOtherGeneralPreferences returning a list of two indices 
(the first indicating the next row while the second indicates the row that gets 
configured to grow).

Modified Paths:
--------------
    brlcad/trunk/src/tclscripts/archer/Archer.tcl

Modified: brlcad/trunk/src/tclscripts/archer/Archer.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/archer/Archer.tcl       2013-12-04 20:25:19 UTC 
(rev 58819)
+++ brlcad/trunk/src/tclscripts/archer/Archer.tcl       2013-12-04 21:12:23 UTC 
(rev 58820)
@@ -3128,13 +3128,18 @@
     grid $itk_component(maxcombmembL) -column 0 -row $i -sticky e
     grid $itk_component(maxcombmembE) -column 1 -row $i -sticky ew
     incr i
-    set i [buildOtherGeneralPreferences $i]
+    set ilist [buildOtherGeneralPreferences $i]
+    set i [lindex $ilist 0]
+    set ri [lindex $ilist 1]
+    if {$ri == ""} {
+       set ri $i
+    }
     grid $itk_component(affectedTreeNodesModeCB) \
        -columnspan 2 \
        -column 0 \
        -row $i \
        -sticky sw
-    grid rowconfigure $itk_component(generalF) $i -weight 1
+    grid rowconfigure $itk_component(generalF) $ri -weight 1
     incr i
     grid $itk_component(listViewAllAffectedCB) \
        -columnspan 2 \

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to