From c82c8d58dc2e8ee2159b1053e11b79bc12073d4f Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sat, 28 Jun 2008 22:02:05 +0000 Subject: [PATCH] Editing rules crashes because value and string attrbutes are now protected on GrampsType so get via a different method svn: r10833 --- src/FilterEditor/_EditRule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterEditor/_EditRule.py b/src/FilterEditor/_EditRule.py index 40e9836c3..7ddeb1109 100644 --- a/src/FilterEditor/_EditRule.py +++ b/src/FilterEditor/_EditRule.py @@ -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))) #------------------------------------------------------------------------- #