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:
Gary Burton 2007-10-25 21:22:42 +00:00
parent 256e67cb6c
commit 3c2cbe68f2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-10-25 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsWidgets.py: allow MonitoredEntry widgets to be updated with
empty strings. issue #1314
2007-10-25 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/lineage.py: gen variable conflicts with module gen

View File

@ -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: