Skip to content

Commit

Permalink
Use "Show" when no image is downloaded yet gives error
Browse files Browse the repository at this point in the history
  • Loading branch information
astares committed Jun 8, 2022
1 parent dfadffa commit 95d606b
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 95d606b

Please sign in to comment.