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:
@@ -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>
|
2007-10-25 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/plugins/lineage.py: gen variable conflicts with module gen
|
* src/plugins/lineage.py: gen variable conflicts with module gen
|
||||||
|
|
||||||
|
@@ -412,7 +412,7 @@ class MonitoredEntry:
|
|||||||
self.obj.grab_focus()
|
self.obj.grab_focus()
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
if self.get_val():
|
if self.get_val() is not None:
|
||||||
self.obj.set_text(self.get_val())
|
self.obj.set_text(self.get_val())
|
||||||
|
|
||||||
class MonitoredSpinButton:
|
class MonitoredSpinButton:
|
||||||
|
Reference in New Issue
Block a user