From 15930c4803f306cadb96456c9c236d250acfeb0a Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Mon, 11 Dec 2006 13:45:01 +0000 Subject: [PATCH] * src/DataViews/_RelationView.py (change_person): Break endless loop by passing the return values from _change_person. svn: r7779 --- gramps2/ChangeLog | 4 ++++ gramps2/src/DataViews/_RelationView.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index c37c7e8bd..8944d4db9 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-12-10 Martin Hawlisch + * src/DataViews/_RelationView.py (change_person): Break endless loop + by passing the return values from _change_person. + 2006-12-10 Brian Matherly * src/plugins/NarrativeWeb.py: fix 0000597: Narrative web site generates uppercase directory names but lower case hrefs diff --git a/gramps2/src/DataViews/_RelationView.py b/gramps2/src/DataViews/_RelationView.py index 8103006ab..508ab0143 100644 --- a/gramps2/src/DataViews/_RelationView.py +++ b/gramps2/src/DataViews/_RelationView.py @@ -373,10 +373,11 @@ class RelationshipView(PageView.PersonNavView): def change_person(self, obj): try: - self._change_person(obj) + return self._change_person(obj) except AttributeError, msg: from QuestionDialog import RunDatabaseRepair RunDatabaseRepair(msg) + return True def _change_person(self, obj): if self.redrawing: