* src/plugins/FilterEditor.py (MyInteger): Fix type conversions.
svn: r2097
This commit is contained in:
parent
7d411700f7
commit
445266eacc
@ -1,3 +1,6 @@
|
||||
2003-09-06 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/plugins/FilterEditor.py (MyInteger): Fix type conversions.
|
||||
|
||||
2003-09-06 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/plugins/FilterEditor.py (MyPlaces): fix handling of get_text,
|
||||
set_text tasks. Use the default from the base class.
|
||||
|
@ -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))
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user