Fixed a bug when loading a project, due to the changes made in the last commit

This commit is contained in:
Sergio Costas 2016-11-24 00:45:43 +01:00
parent da63737d35
commit 020813cfe6
3 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,7 @@
## History of versions ##
* version 4.8.5 (2016-11-24)
* Fixed a bug when loading a project file (thanks to RecursiveProgrammer)
* version 4.8.4 (2016-11-03)
* Allows to set if a movie is shown or not in the DVD menu from the main window

View file

@ -64,7 +64,7 @@ except:
setup(
name='devedeng',
version='4.8.4',
version='4.8.5',
description='A video DVD creator',
long_description = "A program that allows to create video DVDs",

View file

@ -729,7 +729,7 @@ class devede_project:
else:
new_file.restore_file(efile)
new_file.connect('title_changed',self.title_changed)
self.wliststore_files.append([new_file, new_file.title_name,True,self.duration_to_string(new_file.get_duration())])
self.wliststore_files.append([new_file, new_file.title_name,True,self.duration_to_string(new_file.get_duration()),new_file.show_in_menu])
if (len(error_list)!=0):
devedeng.message.message_window(_("The following files in the project could not be added again:"),_("Error while adding files"),error_list)
self.set_interface_status(None)