Skip to content

Commit

Permalink
Merge pull request #1556 from demarey/Pharo13
Browse files Browse the repository at this point in the history
sync PR  #1555
  • Loading branch information
jecisc authored Jun 13, 2024
2 parents 545c7a8 + 92ccb51 commit b096eb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Spec2-Core/SpAbstractPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ SpAbstractPresenter >> withAdapterDo: aValuable [
{ #category : 'private - utilities' }
SpAbstractPresenter >> withWindowDo: aValuable [

self hasWindow ifFalse: [ ^ self ].
self hasWindow ifFalse: [ ^ nil ].
"Since Presenter has window, root = window"
aValuable value: self root
^ aValuable value: self root
]
4 changes: 2 additions & 2 deletions src/Spec2-Core/SpDialogWindowPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,6 @@ SpDialogWindowPresenter >> triggerOkAction [
"Trigger defined ok action.
See `SpDialogWindowPresenter>>#okAction:`"

okAction ifNil: [ ^ self ].
okAction cull: self
okAction ifNil: [ ^ nil ].
^ okAction cull: self
]

0 comments on commit b096eb5

Please sign in to comment.