summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorThe Flying Rapist <admin@nosuck.org>2015-01-17 12:58:46 +0900
committerhut <hut@lepus.uberspace.de>2015-01-30 13:40:20 +0100
commit1e452164dcbc02e4106fc2f90aa02580cf3449e8 (patch)
tree7d0a67a549935b69d397abbb574abd5dd53332db /ranger
parent939022cfa62986696595a86b926e82740adad84f (diff)
downloadranger-1e452164dcbc02e4106fc2f90aa02580cf3449e8.tar.gz
Less invasive default parameter.
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index ed3f7598..9db80f6b 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -1066,7 +1066,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
             if not i in self.tabs:
                 return self.tab_open(i, path)
 
-    def tab_switch(self, path, create_directory=True):
+    def tab_switch(self, path, create_directory=False):
         """Switches to tab of given path, opening a new tab as necessary.
 
         If path does not exist, it is treated as a directory.
='#n143'>143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208