#FEATURE
authorClaus Gittinger <cg@exept.de>
Sat, 05 Mar 2016 11:23:02 +0100
changeset 16138 b4c2839cf89c
parent 16135 318878ef7837
child 16139 3cd126af8cb9
#FEATURE class: InspectorView comment/format in: #fieldMenu changed: #optionalFilenameSelectionItems if a string is selected, which is the name of a valid file, also offer openFileBrowser in menu
InspectorView.st
--- a/InspectorView.st	Wed Mar 02 18:07:06 2016 +0100
+++ b/InspectorView.st	Sat Mar 05 11:23:02 2016 +0100
@@ -1994,7 +1994,7 @@
     |sel|
 
     sel := self selection.
-    (object isFilename or:[sel isFilename]) ifTrue:[
+    (object isFilename or:[sel isFilename or:[sel isString and:[sel asFilename exists]]]) ifTrue:[
         OperatingSystem isMSWINDOWSlike ifTrue:[
             ^ #(
                        ('Show in Explorer'             #showInWindowsExplorer)