# HG changeset patch # User Claus Gittinger # Date 1525338458 -7200 # Node ID bb50bfeea772a5e93796859178110eac95b3ca49 # Parent 0e328a8802649e8ea4a1397b6a765486788a6446 #BUGFIX by cg class: SettingsDialog changed: #widgetsWithMatchingSearchStringIn: care for nil helpTexts diff -r 0e328a880264 -r bb50bfeea772 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:[