Update
svn: r1822
This commit is contained in:
parent
5568997a0e
commit
99c1a83cd8
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2000 Donald N. Allingham
|
||||
# Copyright (C) 2000-2003 Donald N. Allingham
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -679,6 +679,9 @@ class BookReportSelector:
|
||||
if not iter:
|
||||
return
|
||||
data = self.av_model.get_data(iter,range(self.av_ncols))
|
||||
if data[1] == _("Title"):
|
||||
data.append(_("Not Applicable"))
|
||||
else:
|
||||
data.append(self.person.getPrimaryName().getRegularName())
|
||||
self.bk_model.add(data)
|
||||
item = BookItem(data[0])
|
||||
@ -749,7 +752,7 @@ class BookReportSelector:
|
||||
style_name = item.get_style_name()
|
||||
opt_dlg = options_dialog(self.db,self.person,options,style_name)
|
||||
opt_dlg.window.destroy()
|
||||
if opt_dlg.person:
|
||||
if opt_dlg.person and data[1] != _("Title"):
|
||||
self.bk_model.model.set_value(iter,2,
|
||||
opt_dlg.person.getPrimaryName().getRegularName())
|
||||
item.set_options(opt_dlg.options)
|
||||
|
Loading…
Reference in New Issue
Block a user