From 8eb2d5cf9509e8056293a2daf5b8b3bfc9b0a785 Mon Sep 17 00:00:00 2001 From: Geoff Beier Date: Sat, 20 Jul 2019 22:26:21 -0400 Subject: [PATCH] use store_element() and restore_element() in on_button_accept_clicked In file_movie.on_button_accept_clicked() file_movie.store_file() and restore_file() are called. These methods don't exist; it looks like the intent was to call store_element() and restore_element(). Testing confirms this; properties are now applied to all the selected files. Fixes Issue #79 --- src/devedeng/file_movie.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devedeng/file_movie.py b/src/devedeng/file_movie.py index 58a6f72..863c55e 100644 --- a/src/devedeng/file_movie.py +++ b/src/devedeng/file_movie.py @@ -624,12 +624,12 @@ class file_movie(devedeng.interface_manager.interface_manager): self.emit('in_menu_changed', self.show_in_menu) else: # editing properties for a group of files - data = self.store_file() + data = self.store_element() sel = self.wtreeview_multiproperties.get_selection() model, pathlist = sel.get_selected_rows() for file_path in pathlist: obj = model[file_path][1] - obj.restore_file(data) + obj.restore_element(data) self.wfile_properties.destroy() self.wfile_properties = None