* src/MediaView.py (media_update): Redisplay the media object at the top
svn: r5410
This commit is contained in:
parent
9c524ad869
commit
aed42dbb83
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user