From edad198c125d73c3266336aa2c5b032197267a45 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 2 Feb 2009 19:43:21 +0000 Subject: [PATCH] Fix of issue 2667. svn: r11809 --- src/plugins/graph/GVRelGraph.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/graph/GVRelGraph.py b/src/plugins/graph/GVRelGraph.py index 25b09ef92..1c8a18b6c 100644 --- a/src/plugins/graph/GVRelGraph.py +++ b/src/plugins/graph/GVRelGraph.py @@ -194,6 +194,11 @@ class RelGraphReport(Report): style = 'solid' adopted = ((int(frel) != gen.lib.ChildRefType.BIRTH) or (int(mrel) != gen.lib.ChildRefType.BIRTH)) + # If birth relation to father is NONE, mening there is no father and + # if birth relation to mother is BIRTH then solid line + if ((int(frel) == gen.lib.ChildRefType.NONE) and + (int(mrel) == gen.lib.ChildRefType.BIRTH)): + adopted = False if adopted and self.adoptionsdashed: style = 'dotted' self.doc.add_link( p_id, family.get_gramps_id(), style,