#UI_ENHANCEMENT by cg draft
authorClaus Gittinger <cg@exept.de>
Sun, 26 Feb 2017 18:17:30 +0100
changeset 3424 4243ce8f3411
parent 3423 1b9fb486b83c
child 3425 0bf8a902d844
#UI_ENHANCEMENT by cg class: ImageEditor changed: #doSaveImageFileAs
ImageEditor.st
--- a/ImageEditor.st	Sun Feb 26 16:56:08 2017 +0100
+++ b/ImageEditor.st	Sun Feb 26 18:17:30 2017 +0100
@@ -8341,6 +8341,9 @@
             ].
         ] ifFalse:[
             file notNil ifTrue:[
+                LastDirectory notNil ifTrue:[
+                    file := LastDirectory asFilename construct:(file asFilename baseName).
+                ].    
                 file := FileSelectionBrowser
                             request:'Save Image To'
                             fileName:file
@@ -8360,7 +8363,7 @@
         self clearModifiedAndRememberImageSavedAsFile:file.
     ]
 
-    "Modified: / 16-02-2017 / 10:52:56 / cg"
+    "Modified: / 26-02-2017 / 17:37:54 / cg"
 !
 
 doSaveImageMaskFileAs