Skip to content

Commit

Permalink
Fixes #1547
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Sep 20, 2024
1 parent 8e0e75a commit 1369b5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Spec2-Adapters-Morphic/SpWindow.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ SpWindow >> announceWillClose [
{ #category : 'open/close' }
SpWindow >> close [

self announceWillClose ifFalse: [ ^ self ].
super close.
]

{ #category : 'open/close' }
SpWindow >> deleteDiscardingChanges [

self announceWillClose.
self announceWillClose ifFalse: [ ^ self ].
^ super deleteDiscardingChanges
]

Expand Down Expand Up @@ -92,12 +91,13 @@ SpWindow >> taskbarTask [
"Answer a taskbar task for the receiver.
Answer nil if not required."

(self valueOfProperty: #noTaskbarTask ifAbsent: [false]) ifTrue: [ ^ nil ].
(self valueOfProperty: #noTaskbarTask ifAbsent: [ false ]) ifTrue: [
^ nil ].

taskbarTask := TaskbarTask
morph: self
state: self taskbarState
icon: self model taskbarIcon
icon: (self model iconNamed: self model taskbarIconName)
label: self taskbarLabel.

^ taskbarTask
Expand Down

0 comments on commit 1369b5f

Please sign in to comment.