Skip to content

Commit

Permalink
Fixes #3302 for Pharo 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
bencoman committed May 6, 2019
1 parent 0903ade commit 7cc886b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Tool-ExternalBrowser/ExternalBrowser.class.st
Expand Up @@ -87,7 +87,7 @@ ExternalBrowser class >> serviceBrowseCode [
selector: #browseStream:
description: 'Open a "file-contents browser" on this file, allowing you to view and selectively load its code'
buttonLabel: 'Code')
argumentGetter: [ :file| file readStream]
argumentGetter: [ :file| file readOnlyStream]
]

{ #category : #'System-FileRegistry' }
Expand Down
2 changes: 1 addition & 1 deletion src/Tool-ExternalBrowser/ExternalChangesBrowser.class.st
Expand Up @@ -114,7 +114,7 @@ ExternalChangesBrowser class >> serviceBrowseCSOrSTFile [
selector: #openOnStream:
description: 'Open a changelist tool on this file'
buttonLabel: 'Changes')
argumentGetter: [ :stream | stream readStream ]
argumentGetter: [ :stream | stream readOnlyStream ]
]

{ #category : #'file service' }
Expand Down

0 comments on commit 7cc886b

Please sign in to comment.