remember loaded file (for save as)
authorClaus Gittinger <cg@exept.de>
Wed, 17 Mar 2004 13:28:17 +0100
changeset 5752 1377fd220c4c
parent 5751 221368ffc1b6
child 5753 e5229b5882b2
remember loaded file (for save as)
WorkspaceApplication.st
--- a/WorkspaceApplication.st	Wed Mar 17 12:50:37 2004 +0100
+++ b/WorkspaceApplication.st	Wed Mar 17 13:28:17 2004 +0100
@@ -940,6 +940,7 @@
             ws externalEncoding:encodingSymbolOrNil.
         ].
         ws contents:contents.
+        ws defaultFileNameForFileDialog:file pathName.
     ] on:StreamError do:[:ex|
         Dialog warn:(resources string:'Cannot open %1: %2' with:file asString with:ex description).
         ^ self
@@ -1334,5 +1335,5 @@
 !WorkspaceApplication class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/WorkspaceApplication.st,v 1.82 2004-03-16 16:31:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/WorkspaceApplication.st,v 1.83 2004-03-17 12:28:17 cg Exp $'
 ! !