summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/commands.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 32f5da8c..c02a30c3 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1395,7 +1395,9 @@ class meta(prompt_metadata):
         value = self.rest(1)
         update_dict = dict()
         update_dict[key] = self.rest(2)
-        self.fm.metadata.set_metadata(self.fm.thisfile.path, update_dict)
+        selection = self.fm.thistab.get_selection()
+        for f in selection:
+            self.fm.metadata.set_metadata(f.path, update_dict)
         self._process_command_stack()
 
     def tab(self):
94e0 ^
a3f77915 ^
b94e94e0 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31