summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/shared/settings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py
index c533205b..9a8a0000 100644
--- a/ranger/shared/settings.py
+++ b/ranger/shared/settings.py
@@ -91,6 +91,10 @@ class SettingObject(SignalDispatcher):
 			self.__setattr__(name, value)
 			return self._settings[name]
 
+	def __iter__(self):
+		for x in self._settings:
+			yield x
+
 	def _check_type(self, name, value):
 		from inspect import isfunction
 		typ = ALLOWED_SETTINGS[name]
> 85 86 87 88 89 90 91 92