2008-01-03 Gary Burton <gary.burton@zen.co.uk>

* src/GrampsWidgets.py: allow MonitoredEntry widgets to be updated with
	empty strings. I fixed this issue in trunk 2 months ago and no ill effects
	have been reported. issue #1314



svn: r9697
This commit is contained in:
Gary Burton 2008-01-03 13:56:03 +00:00
parent c1f5b81d95
commit 22b32f3ca3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-01-03 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsWidgets.py: allow MonitoredEntry widgets to be updated with
empty strings. I fixed this issue in trunk 2 months ago and no ill effects
have been reported. issue #1314
2008-01-03 Jerome Rapinat <romjerome@yahoo.fr>
* src/GrampsDb/_ReadGrdb.py
* src/GrampsDb/_ReadXML.py: removed "Family Tree" on translation string, used "database"

View File

@ -370,7 +370,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 MonitoredText: