diff options
author | hut <hut@lavabit.com> | 2011-10-02 15:45:35 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-02 15:45:35 +0200 |
commit | 54d663d5128be1f4b9aa093d1a54cb0665cad4cf (patch) | |
tree | 4d780cad969c5a4abde54ddc0dc72f3dc680847d /ranger/core/actions.py | |
parent | ae707840136d7a4309381f6de895de24cc7f366c (diff) | |
download | ranger-54d663d5128be1f4b9aa093d1a54cb0665cad4cf.tar.gz |
defaults/rc.conf: added missing keys, fixed tab_new
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |