* src/plugins/FamilyGroup.py (parse_user_options): Only select
spouse if there is any. svn: r4777
This commit is contained in:
@@ -18,6 +18,8 @@
|
|||||||
* src/EditPlace.py, src/EditSource.py: Detect new objects by
|
* src/EditPlace.py, src/EditSource.py: Detect new objects by
|
||||||
handle.
|
handle.
|
||||||
* src/const.py.in (save_frel): Return English strings.
|
* src/const.py.in (save_frel): Return English strings.
|
||||||
|
* src/plugins/FamilyGroup.py (parse_user_options): Only select
|
||||||
|
spouse if there is any.
|
||||||
|
|
||||||
2005-06-03 Jens Arvidsson <jya@sverige.nu>
|
2005-06-03 Jens Arvidsson <jya@sverige.nu>
|
||||||
* src/po/sv.po: Minor fixes found via pochkpyvar.pl.
|
* src/po/sv.po: Minor fixes found via pochkpyvar.pl.
|
||||||
|
|||||||
@@ -486,7 +486,8 @@ class FamilyGroupOptions(ReportOptions.ReportOptions):
|
|||||||
"""
|
"""
|
||||||
spouses = self.get_spouses(dialog.db,dialog.person)
|
spouses = self.get_spouses(dialog.db,dialog.person)
|
||||||
spouse_index = self.spouse_menu.get_active()
|
spouse_index = self.spouse_menu.get_active()
|
||||||
self.options_dict['spouse_id'] = spouses[spouse_index][0]
|
if spouses:
|
||||||
|
self.options_dict['spouse_id'] = spouses[spouse_index][0]
|
||||||
|
|
||||||
def make_default_style(self,default_style):
|
def make_default_style(self,default_style):
|
||||||
"""Make default output style for the Family Group Report."""
|
"""Make default output style for the Family Group Report."""
|
||||||
|
|||||||
Reference in New Issue
Block a user