DirectoryView.st
changeset 473 396ab247a5af
parent 451 a8da4f1924a4
child 474 7b19423c8b79
--- a/DirectoryView.st	Fri Jan 23 18:36:45 1998 +0100
+++ b/DirectoryView.st	Fri Jan 23 18:53:14 1998 +0100
@@ -289,7 +289,7 @@
 
 fileDoubleClicked
       
-    fileDoubleClickAction notNil 
+    (fileDoubleClickAction notNil and: [self selectionOfFile value notNil]) 
     ifTrue: 
     [
         fileDoubleClickAction numArgs = 0
@@ -307,7 +307,7 @@
 
 fileSelected
       
-    fileSelectAction notNil 
+    (fileSelectAction notNil and: [self selectionOfFile value notNil]) 
     ifTrue: 
     [
         fileSelectAction numArgs = 0