EditTextView.st
changeset 2879 727a8664a834
parent 2870 994a3a44c526
child 2880 77a60674feb5
--- a/EditTextView.st	Fri Feb 13 14:42:46 2004 +0100
+++ b/EditTextView.st	Mon Feb 16 13:47:36 2004 +0100
@@ -4485,7 +4485,11 @@
     self hasSelection ifFalse:[
         m disableAll:#(cut googleSpellingSuggestion babelFishTranslate openFileBrowserOnIt).
     ] ifTrue:[
-        self selectionAsString asFilename exists ifFalse:[
+        (Error handle:[:ex |
+            ex return:false
+        ] do:[
+            self selectionAsString asSingleByteString asFilename exists
+        ]) ifFalse:[
             m disableAll:#(openFileBrowserOnIt).
         ]
     ].
@@ -5656,5 +5660,5 @@
 !EditTextView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.328 2004-02-12 21:24:17 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditTextView.st,v 1.329 2004-02-16 12:47:36 cg Exp $'
 ! !