svn: r6833
This commit is contained in:
Alex Roitman 2006-05-31 19:31:33 +00:00
parent 10afb1b32c
commit 93e3afac56

View File

@ -816,11 +816,12 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
item.get_translated_name(),
self.track)
response = item_dialog.window.run()
if response == RESPONSE_OK and item_dialog.person and data[1] != _("Title"):
if (response == RESPONSE_OK) and (item_dialog.person) \
and (data[1] != _("Title")):
self.bk_model.model.set_value(the_iter,2,
item_dialog.person.get_primary_name().get_regular_name())
self.book.set_item(row,item)
item_dialog.window.destroy()
item_dialog.close()
def bk_button_press(self,obj,event):
"""