Skip to content

Commit

Permalink
Improve Object #actionForEvent:
Browse files Browse the repository at this point in the history
fix #4606
  • Loading branch information
astares committed Sep 16, 2019
1 parent 7a1e8ca commit 6edc5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/System-Object Events/Object.extension.st
Expand Up @@ -7,8 +7,8 @@ Object >> actionForEvent: anEventSelector [
| actions |
actions := self actionMap
at: anEventSelector asSymbol
ifAbsent: [nil].
actions ifNil: [^nil].
ifAbsent: [^nil].
^ actions asMinimalRepresentation
]

Expand Down

0 comments on commit 6edc5c2

Please sign in to comment.