DirectoryContentsBrowser.st
branchjv
changeset 17134 c4cce8b7a95d
parent 17133 f9f20407fbf9
parent 16936 2d11a0d97ad5
child 17136 cb908d2ba02e
--- a/DirectoryContentsBrowser.st	Sun Oct 09 22:55:02 2016 +0100
+++ b/DirectoryContentsBrowser.st	Tue Oct 18 22:55:22 2016 +0100
@@ -1846,12 +1846,15 @@
     rawKey := anEvent rawKey.
 
    "/ (key ~= #'Alt_L') ifTrue:[self halt.].
-    key == #Accept ifTrue:[
-        self withActivityIndicationDo:[
-            self fileFileIn.
-        ].
-        ^ true.
-    ].
+   "/ cg: removed; too dangerous, because it depends on which view has
+   "/ the focus - in the codeView, it is a save; in the list, it is a fileIn.
+   "/ this is confusing to newcomers.
+"/    key == #Accept ifTrue:[
+"/        self withActivityIndicationDo:[
+"/            self fileFileIn.
+"/        ].
+"/        ^ true.
+"/    ].
     key == #Paste ifTrue:[
         self pasteFiles.
         ^ true.