changeset 5483 | ae6277a36df5 |
parent 5481 | 6eeeb8d2dabf |
child 5485 | a159eff2221e |
child 5514 | a208d39257ac |
--- a/SelectionInListView.st Sat Oct 10 16:54:30 2015 +0200 +++ b/SelectionInListView.st Sun Oct 11 09:43:50 2015 +0200 @@ -2800,10 +2800,12 @@ |lineNr len| lineNr := self lineAtY:aPoint y. - len := self widthOfLine:lineNr. - len > width ifTrue:[ - ^ (self listAt:lineNr) - ]. + lineNr notNil ifTrue:[ + len := self widthOfLine:lineNr. + len > width ifTrue:[ + ^ (self listAt:lineNr) + ]. + ]. ^ nil ! !