#TUNING by exept draft
authorClaus Gittinger <cg@exept.de>
Sun, 08 Sep 2019 14:59:41 +0200
changeset 3755 e4364fb2e320
parent 3754 0ec001ff25a7
child 3756 7fad458b3706
#TUNING by exept class: UIPainter changed: #addWidgetOfSpec: send == instead of =
UIPainter.st
--- a/UIPainter.st	Fri Aug 30 10:47:21 2019 +0200
+++ b/UIPainter.st	Sun Sep 08 14:59:41 2019 +0200
@@ -5285,8 +5285,7 @@
     ifTrue:[
         painter select: newSel
     ] ifFalse:[   
-        ((treeView selection size = 0) or: [treeView selectedNode isNil])
-        ifTrue:[                          
+        ((treeView selection size == 0) or: [treeView selectedNode isNil]) ifTrue:[                          
             treeView selection: #(1).
         ] ifFalse:[  
             treeView selectNode: (treeView detectNode: [:n| n = treeView selectedNode parent])