DSVColumnView.st
changeset 3449 2ba8e55953aa
parent 3428 436f115aefe8
child 3458 5f9a85c6279a
--- a/DSVColumnView.st	Mon Jun 23 20:13:26 2008 +0200
+++ b/DSVColumnView.st	Mon Jun 23 20:13:37 2008 +0200
@@ -593,13 +593,15 @@
 !
 
 selectRowOnDefault
-    "in case of selecting a none selectable cell, the row is selected"
+    "if true, in case of selecting a none selectable cell, the row is selected.
+     If false, nothing is selected. The default is true."
     
     ^ selectRowOnDefault
 !
 
 selectRowOnDefault:aBool 
-    "in case of selecting a none selectable cell, the row is selected"
+    "if true, in case of selecting a none selectable cell, the row is selected.
+     If false, nothing is selected. The default is true."
     
     selectRowOnDefault := aBool
 !
@@ -4252,9 +4254,7 @@
                 newCol := nil.
                 colNr := 0.
                 selectRowOnDefault ifFalse:[
-                    rowNr := multipleSelectOk ifFalse:[
-                                0
-                            ] ifTrue:[ nil ]
+                    rowNr := multipleSelectOk ifTrue:[nil] ifFalse:[0]
                 ]
             ]
         ]
@@ -4406,5 +4406,5 @@
 !DSVColumnView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.231 2008-05-30 12:26:12 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/DSVColumnView.st,v 1.232 2008-06-23 18:13:37 cg Exp $'
 ! !