Don't connect models until loaded
svn: r1565
This commit is contained in:
parent
e727f0075b
commit
1cf00e2a8a
@ -149,6 +149,9 @@ class ChooseParents:
|
||||
self.fmodel.clear()
|
||||
self.mmodel.clear()
|
||||
|
||||
self.fmodel.new_model()
|
||||
self.mmodel.new_model()
|
||||
|
||||
pkey = self.person.getId()
|
||||
gender = self.person.getGender()
|
||||
if self.father:
|
||||
@ -194,6 +197,9 @@ class ChooseParents:
|
||||
self.mlabel.set_label("<b>%s</b>" % _("Mother"))
|
||||
self.flabel.set_label("<b>%s</b>" % _("Father"))
|
||||
|
||||
self.fmodel.connect_model()
|
||||
self.mmodel.connect_model()
|
||||
|
||||
def not_likely(self,person):
|
||||
"""
|
||||
Rough attempt to eliminate a few non-realistic relationships. If the person
|
||||
|
@ -3037,7 +3037,7 @@
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||
<property name="modal">False</property>
|
||||
<property name="default_width">550</property>
|
||||
<property name="default_width">650</property>
|
||||
<property name="default_height">500</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
|
Loading…
Reference in New Issue
Block a user