diff options
author | hut <hut@lepus.uberspace.de> | 2015-01-18 05:50:58 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-01-18 05:50:58 +0100 |
commit | 31e70062941d56ad42989b3c095022b7c49ef8e1 (patch) | |
tree | e799cb3ad6aac308f499ef91b3cad19d4996c3a3 /ranger | |
parent | e456d4549f47b006b07efdcce9511506790c7d1d (diff) | |
parent | aa4cb479bd2af29d0ea268490918c7f5968a6246 (diff) | |
download | ranger-31e70062941d56ad42989b3c095022b7c49ef8e1.tar.gz |
Merge branch 'meta_selection' of https://github.com/Vifon/ranger
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/config/commands.py | 4 |
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): |