#REFACTORING by sr draft
authorsr
Wed, 24 Oct 2018 13:25:22 +0200
changeset 3624 2b1381d671fc
parent 3623 861c9acf54ed
child 3625 b05e45a69b82
#REFACTORING by sr class: ImageEditor changed: #doLoadFromFile #doSaveImageFileAs
ImageEditor.st
--- a/ImageEditor.st	Tue Oct 23 10:20:43 2018 +0200
+++ b/ImageEditor.st	Wed Oct 24 13:25:22 2018 +0200
@@ -9235,7 +9235,8 @@
                     {(resources string:'All Files').   '*.*'} 
                 }
                 filterIndex:nil
-                doSave:false.
+                trueForSave:false
+                trueForPromptOverwrite:false.
         ].
     ] ifFalse:[    
         filters := FileSelectionBrowser loadImageFileNameFilters.
@@ -9258,7 +9259,7 @@
     ]
 
     "Modified: / 16-02-2017 / 10:53:41 / cg"
-    "Modified: / 23-10-2018 / 10:02:51 / sr"
+    "Modified: / 24-10-2018 / 13:16:05 / sr"
 !
 
 doLoadFromURL
@@ -9578,7 +9579,8 @@
                     {(resources string:'All Files').   '*.*'} 
                 }
                 filterIndex:nil
-                doSave:true.
+                trueForSave:true
+                trueForPromptOverwrite:true.    
         ].
     ] ifFalse:[ 
         img fileName isNil ifTrue:[
@@ -9623,7 +9625,7 @@
     ]
 
     "Modified: / 27-02-2017 / 01:26:05 / cg"
-    "Modified: / 23-10-2018 / 10:02:44 / sr"
+    "Modified: / 24-10-2018 / 13:16:14 / sr"
 !
 
 doSaveImageMaskFileAs