about summary refs log tree commit diff stats
path: root/code/directory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/directory.rb')
-rw-r--r--code/directory.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/directory.rb b/code/directory.rb
index e7431399..d00a2eb6 100644
--- a/code/directory.rb
+++ b/code/directory.rb
@@ -57,6 +57,7 @@ class Directory
 	end
 	def self.filter() @@filter end
 
+	def schedule_resort() @sort_time = BAD_TIME end
 	def scheduled?() @scheduled end
 	def read?() @read end
 
@@ -159,6 +160,7 @@ class Directory
 			@file_size += f.size if f.file?
 		end
 		@read = true
+		schedule_resort
 	end
 
 #	def refresh()