summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-28 18:58:00 +0200
committerhut <hut@lavabit.com>2010-03-28 18:58:00 +0200
commitc9e7def2206e3f77281e77dd75f9f01bf16233c7 (patch)
tree83f047d4cd796fe0f5643b306a32cf1d5a03f9b2
parent876e288aff3149d293e100575eee052e66102305 (diff)
downloadranger-c9e7def2206e3f77281e77dd75f9f01bf16233c7.tar.gz
fsobject.directory: forgot to rename attributes
-rw-r--r--ranger/fsobject/directory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index ef9d04ff..9848448a 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -291,7 +291,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware):
 		self.old_sort_directories_first = self.settings.sort_directories_first
 		self.old_sort = self.settings.sort
 		self.old_sort_reverse = self.settings.sort_reverse
-		self.old_case_insensitive = self.settings.sort_case_insensitive
+		self.old_sort_case_insensitive = self.settings.sort_case_insensitive
 
 	def sort_if_outdated(self):
 		"""Sort the containing files if they are outdated"""
@@ -299,7 +299,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware):
 				self.settings.sort_directories_first \
 				or self.old_sort != self.settings.sort \
 				or self.old_sort_reverse != self.settings.sort_reverse \
-				or self.old_case_insensitive != \
+				or self.old_sort_case_insensitive != \
 				self.settings.sort_case_insensitive:
 			self.sort()
 			return True