Revision: 42457
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42457&view=rev
Author:   bob1961
Date:     2011-01-19 18:00:09 +0000 (Wed, 19 Jan 2011)

Log Message:
-----------
Tweaked cadwidgets::TkTable::toggleSelect to behave better after a <Button-1> 
event occurs in a different cell.

Modified Paths:
--------------
    brlcad/trunk/src/tclscripts/lib/TkTable.tcl

Modified: brlcad/trunk/src/tclscripts/lib/TkTable.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/lib/TkTable.tcl 2011-01-19 17:26:22 UTC (rev 
42456)
+++ brlcad/trunk/src/tclscripts/lib/TkTable.tcl 2011-01-19 18:00:09 UTC (rev 
42457)
@@ -529,6 +529,11 @@
            if {$row == $arow && $col == $acol} {
                setInsertMode 1
            } else {
+               # This line causes the cell data to be
+               # retained even after the state is disable
+               # by the call to "setInsertMode 0" below.
+               $itk_component(table) activate active
+
                setInsertMode 0
            }
        }


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to