summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/fm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index 8337ba9b..25e66407 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -54,8 +54,6 @@ class FM(Actions, SignalDispatcher):
 		self._executables = None
 		self.apps = self.settings.apps.CustomApplications()
 
-		self.env.signal_bind('cd', self._update_current_tab)
-
 		def mylogfunc(text):
 			self.notify(text, bad=True)
 		self.run = Runner(ui=self.ui, apps=self.apps,
@@ -101,6 +99,8 @@ class FM(Actions, SignalDispatcher):
 			self.ui = DefaultUI()
 			self.ui.initialize()
 
+		self.env.signal_bind('cd', self._update_current_tab)
+
 	def block_input(self, sec=0):
 		self.input_blocked = sec != 0
 		self.input_blocked_until = time() + sec