Skip to content

Commit

Permalink
Use "Show" when no image is downloaded yet gives error (#571)
Browse files Browse the repository at this point in the history
Fix #570
  • Loading branch information
astares authored Jun 9, 2022
1 parent 9dabd4a commit 13b8fde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PharoLauncher-Core/PhLShowImageInFolderCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Open your OS's file browser on the selected image directory.
Class {
#name : #PhLShowImageInFolderCommand,
#superclass : #PhLImageCommand,
#category : 'PharoLauncher-Core-Commands'
#category : #'PharoLauncher-Core-Commands'
}

{ #category : #converting }
Expand All @@ -18,6 +18,8 @@ PhLShowImageInFolderCommand >> asSpecCommand [

{ #category : #executing }
PhLShowImageInFolderCommand >> execute [

self imagesPresenter hasSingleImageSelected ifFalse: [ ^self ].
self imagesPresenter singleImage showNativeFolder
]

Expand Down

0 comments on commit 13b8fde

Please sign in to comment.