Skip to content

Commit 9570de8

Browse files
committed
Clean up not used variables
1 parent 2482d06 commit 9570de8

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/Pyramid-Bloc/PyramidPluginEditOnRunning.class.st

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@ Class {
33
#superclass : #Object,
44
#traits : 'TPyramidPlugin',
55
#classTraits : 'TPyramidPlugin classTrait',
6-
#instVars : [
7-
'editOnRunning'
8-
],
96
#classInstVars : [
107
'editOnRunning',
11-
'spaceIds',
128
'shortcut',
139
'keyCombination',
1410
'breakpoint'
@@ -52,10 +48,10 @@ PyramidPluginEditOnRunning class >> doShortcutAction: anEvent [
5248
| space editor whenClosedDo |
5349
self editOnRunning ifFalse: [ ^ self ].
5450
space := anEvent source space.
55-
(self canEditSpace: space) ifTrue: [
56-
editor := space editWithPyramid.
57-
whenClosedDo := editor window whenClosedDo.
58-
editor window whenClosedDo: [ whenClosedDo value ] ]
51+
(self canEditSpace: space) ifFalse: [ ^ self ].
52+
editor := space editWithPyramid.
53+
whenClosedDo := editor window whenClosedDo.
54+
editor window whenClosedDo: [ whenClosedDo value ]
5955
]
6056

6157
{ #category : #'as yet unclassified' }

0 commit comments

Comments
 (0)