2007-10-25 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsWidgets.py: allow MonitoredEntry widgets to be updated with empty strings. issue #1314 svn: r9248
This commit is contained in:
@@ -412,7 +412,7 @@ class MonitoredEntry:
|
||||
self.obj.grab_focus()
|
||||
|
||||
def update(self):
|
||||
if self.get_val():
|
||||
if self.get_val() is not None:
|
||||
self.obj.set_text(self.get_val())
|
||||
|
||||
class MonitoredSpinButton:
|
||||
|
Reference in New Issue
Block a user