summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-16 19:07:41 +0100
committerhut <hut@lavabit.com>2013-02-16 19:07:41 +0100
commita8593a85bb8939a7dfc92ed39e24b7c9f76004a7 (patch)
treeabdc791e7bbdc3babb6357d92146b467e90bc4c2
parent73cf294eebec7ee88c3fe93e38d0cf52253eb345 (diff)
downloadranger-a8593a85bb8939a7dfc92ed39e24b7c9f76004a7.tar.gz
config/commands.py: removed obsolete reference to fm.env
-rw-r--r--ranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index d64e0773..18b2f395 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1082,7 +1082,7 @@ class narrow(Command):
         self.fm.thisdir.load_content(schedule=False)
 
     def tab(self):
-        if self.fm.env.cwd.files[-1] is not self.fm.env.cf:
+        if self.fm.thisdir.files[-1] is not self.fm.thisfile:
             self.fm.move(down=1)
         else:
             # We're at the bottom, so wrap