From: Don A. <dal...@us...> - 2002-03-28 03:08:48
|
On Wed, 2002-03-27 at 12:51, Bernd Schandl wrote: > So we have the arrows for parents and a combo box for the spouse - a > little inconsistent but I really like the combo box and I don't see how to > use it for parents. So I'd leave it how it is now and hope that not many > people have several spouses and several parents ;-) Yeah, but I'm not sure how to get it more consistent. > I have one new bug: When I add a second spouse, I get this error: > > Traceback (most recent call last): > File "/usr/lib/python2.1/site-packages/libglade.py", line 28, in > __call__ > ret = apply(self.func, a) > File "/home/schandl/develop/gramps-install/share/gramps/AddSpouse.py", > line 158, in select_spouse_clicked > self.update(family) > File "/home/schandl/develop/gramps-install/share/gramps/gramps_main.py", > line 1473, in load_family > self.build_spouse_dropdown() > File "/home/schandl/develop/gramps-install/share/gramps/gramps_main.py", > line 1410, in build_spouse_dropdown > self.spouse_combo.list.select_child(sel) > UnboundLocalError: local variable 'sel' referenced before assignment > > Then I have a combo box with just one entry. When I hit Delete, I have a > combo box with two entries: Unknown (which is preferred) and the second > name. Deleting Unknown doesn't work, deleting the second name leads to an > empty text box. > > Anyway, I think the interface for handling several spouses and parents > including preferences is pretty good now! > > Bernd The first bug should be fixed now, and I think the second one was cause by the first. Don -- Don Allingham dal...@us... http://gramps.sourceforge.net |