Editing rules crashes because value and string attrbutes are now protected on GrampsType so get via a different method
svn: r10833
This commit is contained in:
parent
656b4da5ab
commit
c82c8d58dc
@ -371,7 +371,7 @@ class MySelect(gtk.ComboBoxEntry):
|
||||
def set_text(self, val):
|
||||
tc = self.type_class()
|
||||
tc.set_from_xml_str(val)
|
||||
self.sel.set_values((tc.val, tc.string))
|
||||
self.sel.set_values((int(tc), str(tc)))
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user