diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 778262255..7adde61c4 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2003-09-06 Alex Roitman + * src/plugins/FilterEditor.py (MyInteger): Fix type conversions. + 2003-09-06 Don Allingham * src/plugins/FilterEditor.py (MyPlaces): fix handling of get_text, set_text tasks. Use the default from the base class. diff --git a/gramps2/src/plugins/FilterEditor.py b/gramps2/src/plugins/FilterEditor.py index 351f7d499..50143baad 100644 --- a/gramps2/src/plugins/FilterEditor.py +++ b/gramps2/src/plugins/FilterEditor.py @@ -91,10 +91,10 @@ class MyInteger(gtk.SpinButton): self.show() def get_text(self): - return str(self.get_value()) + return str(self.get_value_as_int()) def set_text(self,val): - self.set_value(val) + self.set_value(int(val)) #------------------------------------------------------------------------- #