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
This commit is contained in:
parent
4e46da6a17
commit
8eb2d5cf95
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue