about summary refs log tree commit diff stats
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
parent939022cfa62986696595a86b926e82740adad84f (diff)
downloadranger-1e452164dcbc02e4106fc2f90aa02580cf3449e8.tar.gz
Less invasive default parameter.
-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.