2007-01-10 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: add support for an "empty" signal on ValidatableMaskedEntry so that we can update the value when the string has been cleared (bug #821) * src/DateEdit.py: catch empty signal (bug #821) svn: r7891
This commit is contained in:
@ -126,6 +126,7 @@ class DateEdit:
|
||||
self.pixmap_obj = button_obj.get_child()
|
||||
|
||||
self.text_obj.connect('validate',self.validate)
|
||||
self.text_obj.connect('empty',self.validate)
|
||||
self.button_obj.connect('clicked',self.invoke_date_editor)
|
||||
|
||||
self.text = unicode(self.text_obj.get_text())
|
||||
|
Reference in New Issue
Block a user