*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Thu, 25 Nov 2004 10:20:53 +0100
changeset 6140 637ae0ab5cc3
parent 6139 8473626e4e83
child 6141 6e6494490557
*** empty log message ***
DirectoryContentsBrowser.st
--- a/DirectoryContentsBrowser.st	Thu Nov 25 09:19:54 2004 +0100
+++ b/DirectoryContentsBrowser.st	Thu Nov 25 10:20:53 2004 +0100
@@ -2414,8 +2414,14 @@
 !
 
 updateStep
-    self windowGroup sensor anyButtonPressed ifTrue:[ ^ self ].
-    self windowGroup sensor shiftDown ifTrue:[ ^ self ].
+    |sensor|
+
+    sensor := self windowGroup sensor.
+    (sensor anyButtonPressed or:[sensor shiftDown]) ifTrue:[ 
+        "/ no update while scrolling
+        self changeSema waitWithTimeoutMs:(self class updateTaskCyleTime).
+        ^ self 
+    ].
     
     AbortOperationRequest handle:[
         "if directory changed all running update flags must be reset"
@@ -3159,5 +3165,5 @@
 !DirectoryContentsBrowser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DirectoryContentsBrowser.st,v 1.171 2004-10-19 17:09:59 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DirectoryContentsBrowser.st,v 1.172 2004-11-25 09:20:53 cg Exp $'
 ! !