Merge branch 'multiproperties_issue79' into 'master'
use store_element() and restore_element() in on_button_accept_clicked See merge request rastersoft/devedeng!75
This commit is contained in:
commit
db0789ba8c
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)
|
self.emit('in_menu_changed', self.show_in_menu)
|
||||||
else:
|
else:
|
||||||
# editing properties for a group of files
|
# editing properties for a group of files
|
||||||
data = self.store_file()
|
data = self.store_element()
|
||||||
sel = self.wtreeview_multiproperties.get_selection()
|
sel = self.wtreeview_multiproperties.get_selection()
|
||||||
model, pathlist = sel.get_selected_rows()
|
model, pathlist = sel.get_selected_rows()
|
||||||
for file_path in pathlist:
|
for file_path in pathlist:
|
||||||
obj = model[file_path][1]
|
obj = model[file_path][1]
|
||||||
obj.restore_file(data)
|
obj.restore_element(data)
|
||||||
|
|
||||||
self.wfile_properties.destroy()
|
self.wfile_properties.destroy()
|
||||||
self.wfile_properties = None
|
self.wfile_properties = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue