summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index f2434ec6..35c5eb62 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -120,7 +120,7 @@ def main(
         load_settings(fm, args.clean)
 
         if args.choosedir:
-            SettingsAware.settings.global_inode_type_filter = 'd'
+            fm.settings.global_inode_type_filter = 'd'
 
         if args.list_unused_keys:
             from ranger.ext.keybinding_parser import (special_keys,