summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorThe Flying Rapist <admin@nosuck.org>2018-02-09 08:21:01 -0500
committerThe Flying Rapist <admin@nosuck.org>2018-02-09 08:21:01 -0500
commit6859dae72a2521bdbade1224d67be0c7090b4e0e (patch)
tree008a86812fa601d6eee110e4fe22adfb47cfe3ab
parentbfe1dbafaec8d79cb77fca93d4daa5a98e2cbf29 (diff)
downloadranger-6859dae72a2521bdbade1224d67be0c7090b4e0e.tar.gz
Fully encompass tag_toggle
-rw-r--r--ranger/core/actions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index d08526f2..31fa9518 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -838,11 +838,11 @@ class Actions(  # pylint: disable=too-many-instance-attributes,too-many-public-m
 
         self.ui.redraw_main_column()
 
-    def tag_remove(self, paths=None, movedown=None):
-        self.tag_toggle(paths=paths, value=False, movedown=movedown)
+    def tag_remove(self, paths=None, movedown=None, tag=None):
+        self.tag_toggle(paths=paths, value=False, movedown=movedown, tag=tag)
 
-    def tag_add(self, paths=None, movedown=None):
-        self.tag_toggle(paths=paths, value=True, movedown=movedown)
+    def tag_add(self, paths=None, movedown=None, tag=None):
+        self.tag_toggle(paths=paths, value=True, movedown=movedown, tag=tag)
 
     # --------------------------
     # -- Bookmarks