* src/MediaView.py (media_update): Redisplay the media object at the top

svn: r5410
This commit is contained in:
Martin Hawlisch 2005-11-21 09:08:30 +00:00
parent 9c524ad869
commit aed42dbb83
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-11-21 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/MediaView.py (media_update): Redisplay the media object at the top
2005-11-20 Don Allingham <don@gramps-project.org>
* src/Report.py: shortened report dialog by making the Paper
Options a tab of the rest of the options

View File

@ -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()