FileBrowserV2.st
changeset 9886 061ae659adeb
parent 9321 5aadb667ca88
child 9944 813c88114fbd
--- a/FileBrowserV2.st	Tue May 03 18:35:19 2011 +0200
+++ b/FileBrowserV2.st	Tue May 03 18:35:40 2011 +0200
@@ -1924,11 +1924,12 @@
     self onDirectory:(f directory).
     self currentFileNameHolder setValue:(Array with:f).
     self open.
-
-    editing ifTrue:[
-        self openTextEditorForFile:f.
-    ] ifFalse:[
-        self openApplForFile:f.
+    self enqueueDelayedAction:[
+        editing ifTrue:[
+            self openTextEditorForFile:f.
+        ] ifFalse:[
+            self openApplForFile:f.
+        ].
     ].
 
     "
@@ -1992,11 +1993,11 @@
 !FileBrowserV2 class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/FileBrowserV2.st,v 1.188 2009-12-14 18:50:46 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileBrowserV2.st,v 1.189 2011-05-03 16:35:40 ab Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/FileBrowserV2.st,v 1.188 2009-12-14 18:50:46 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileBrowserV2.st,v 1.189 2011-05-03 16:35:40 ab Exp $'
 ! !
 
 FileBrowserV2 initialize!