*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Wed, 22 Oct 2008 01:08:39 +0200
changeset 8369 b06c42605499
parent 8368 fd864b68c591
child 8370 9e4578525873
*** empty log message ***
WorkspaceApplication.st
--- a/WorkspaceApplication.st	Wed Oct 22 00:56:47 2008 +0200
+++ b/WorkspaceApplication.st	Wed Oct 22 01:08:39 2008 +0200
@@ -1067,7 +1067,12 @@
     |ws|
 
     ws := self openWith:nil.
-    ws loadFile:aFilename.
+
+    "/ let the ws load the file - instead of the caller.
+    "/ so the error dialog is shown in its context, 
+    "/ and the caller (Launcher) is not blocked.
+    ws enqueueDelayedAction:[ws loadFile:aFilename].
+"/    ws loadFile:aFilename.
     ^ ws
 
     "
@@ -2378,5 +2383,5 @@
 !WorkspaceApplication class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/WorkspaceApplication.st,v 1.163 2008-10-20 09:33:18 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/WorkspaceApplication.st,v 1.164 2008-10-21 23:08:39 cg Exp $'
 ! !