diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2cf3f4bbf..27803f3b7 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-11-21 Martin Hawlisch + * src/MediaView.py (media_update): Redisplay the media object at the top + 2005-11-20 Don Allingham * src/Report.py: shortened report dialog by making the Paper Options a tab of the rest of the options diff --git a/gramps2/src/MediaView.py b/gramps2/src/MediaView.py index 445066969..9033df474 100644 --- a/gramps2/src/MediaView.py +++ b/gramps2/src/MediaView.py @@ -201,6 +201,7 @@ class MediaView: def media_update(self,handle_list): for handle in handle_list: self.model.update_row_by_handle(handle) + self.on_select_row() def media_delete(self,handle_list): for handle in handle_list: @@ -221,7 +222,7 @@ class MediaView: self.list.set_model(self.model) self.selection = self.list.get_selection() - def on_select_row(self,obj): + def on_select_row(self,obj=None): fexists = 1 store,node = self.selection.get_selected()