fixed help key selection
authortz
Fri, 31 Jul 1998 21:57:20 +0200
changeset 938 6474ca79b6ad
parent 937 8e4b1a548d89
child 939 6e2448fa0ba3
fixed help key selection
UIPainter.st
--- a/UIPainter.st	Fri Jul 31 19:41:39 1998 +0200
+++ b/UIPainter.st	Fri Jul 31 21:57:20 1998 +0200
@@ -2919,19 +2919,13 @@
         spec := self specTool specification.
 
         self isHelpToolSelected ifTrue:[
-            self helpTool accept.
-            key  := self helpTool helpKey.
-            prop := treeView propertySelected.
-
-            prop notNil ifTrue:[
-                prop spec activeHelpKey:key
-            ].
-            spec activeHelpKey:key.
-        ] ifFalse:[
-            painter updateFromSpec:spec
-        ]
+            self helpTool accept.      
+            spec activeHelpKey:self helpTool helpKey.
+        ].      
+        painter updateFromSpec:spec
     ]             
 
+
 !
 
 addWidget: aSpecClass