From 54d663d5128be1f4b9aa093d1a54cb0665cad4cf Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 2 Oct 2011 15:45:35 +0200 Subject: defaults/rc.conf: added missing keys, fixed tab_new --- ranger/core/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ranger/core/actions.py') diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 2bcfd72c..15e6dd74 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -700,10 +700,10 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): if newtab != self.current_tab: self.tab_open(newtab) - def tab_new(self): + def tab_new(self, path=None): for i in range(1, 10): if not i in self.tabs: - self.tab_open(i) + self.tab_open(i, path) break def _get_tab_list(self): -- cgit 1.4.1-2-gfad0