summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/fm.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index 6bb4fd22..f6a918b1 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -62,9 +62,6 @@ class FM(Actions, SignalDispatcher):
         self.copy_buffer = set()
         self.do_cut = False
         self.papermanager = PaperManager()
-        self.settings.signal_bind('setopt.papermanager_deep_search',
-                lambda signal: setattr(signal.fm.papermanager, 'deep_search',
-                    signal.value))
 
         try:
             self.username = pwd.getpwuid(os.geteuid()).pw_name
@@ -167,6 +164,10 @@ class FM(Actions, SignalDispatcher):
             self.notify(text, bad=True)
         self.run = Runner(ui=self.ui, logfunc=mylogfunc, fm=self)
 
+        self.settings.signal_bind('setopt.papermanager_deep_search',
+                lambda signal: setattr(signal.fm.papermanager, 'deep_search',
+                    signal.value))
+
     def destroy(self):
         debug = ranger.arg.debug
         if self.ui: