#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Thu, 03 May 2018 11:07:38 +0200
changeset 18076 bb50bfeea772
parent 18075 0e328a880264
child 18077 98f9cde4cdda
#BUGFIX by cg class: SettingsDialog changed: #widgetsWithMatchingSearchStringIn: care for nil helpTexts
SettingsDialog.st
--- a/SettingsDialog.st	Wed May 02 23:07:37 2018 +0200
+++ b/SettingsDialog.st	Thu May 03 11:07:38 2018 +0200
@@ -2165,11 +2165,16 @@
             wordsInWidget := Set new.
              
             (helpKey := eachView helpKey) notNil ifTrue:[
-                wordsInWidget add:helpKey.
+                "/ wordsInWidget add:helpKey.
                 "/ helpText := anApplication helpTextForKey:helpKey.
                 "/ wordsInWidget addAll:(allWords value:helpText).
-                tooltip := anApplication helpTextForKey:helpKey.
-                wordsInWidget addAll:(allWords value:tooltip).
+                Error handle:[:ex |        
+                ] do:[
+                    tooltip := anApplication helpTextForKey:helpKey.
+                    tooltip notNil ifTrue:[        
+                        wordsInWidget addAll:(allWords value:tooltip).
+                    ].
+                ].
             ].
             label := eachView perform:#label ifNotUnderstood:nil.
             (label notNil and:[label isString]) ifTrue:[