From 2e09baf1478872ae893858af60c0f16952b66956 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 31 May 2006 19:31:33 +0000 Subject: [PATCH] Update svn: r6833 --- src/plugins/BookReport.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index 2f0e97461..638d20a33 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -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): """