* src/DataViews/_RelationView.py (change_person): Break endless loop by passing the return values from _change_person.

svn: r7779
This commit is contained in:
Martin Hawlisch 2006-12-11 13:45:01 +00:00
parent 52a01bdd13
commit 15930c4803
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-12-10 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DataViews/_RelationView.py (change_person): Break endless loop
by passing the return values from _change_person.
2006-12-10 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: fix 0000597: Narrative web site
generates uppercase directory names but lower case hrefs

View File

@ -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: