summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-06 04:51:47 +0200
committerhut <hut@lavabit.com>2010-04-06 04:51:47 +0200
commita9f693859839e407d30ac254347e856d4bece56b (patch)
treed49fe9574d74372bac4c4986dbef22dd458425eb
parent07c9e525fecac3908358ea88578b2a1cd303b85e (diff)
downloadranger-a9f693859839e407d30ac254347e856d4bece56b.tar.gz
core.fm: bugfix
-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