Skip to content

Commit

Permalink
Inactive Watches' watched expressions not changeable
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeAtHPI committed Oct 11, 2023
1 parent ad50e0c commit a0e265a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/Sandblocks-Babylonian/SBExampleWatch.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ SBExampleWatch >> artefactSaved: aBlock [
{ #category : #copying }
SBExampleWatch >> asInactiveCopy [

^ (self veryDeepCopy) beInactive.
^ self veryDeepCopy
beInactive
setWatchedExpressionUneditable.
]

{ #category : #accessing }
Expand Down Expand Up @@ -373,6 +375,12 @@ SBExampleWatch >> reportValue: anObject for: anExample [
ifPresent: [:values | values add: anObject]
]

{ #category : #accessing }
SBExampleWatch >> setWatchedExpressionUneditable [

watchedExpression selectable: false
]

{ #category : #accessing }
SBExampleWatch >> valuesForExample: anExample [

Expand Down

0 comments on commit a0e265a

Please sign in to comment.