* src/Editors/_EditPlace.py: fixed name of street MonitoredEntry

* src/Editors/_EditLocation.py: fixed name of street MonitoredEntry
	MonitoredEntry field for street wrongly named as city.
	Caused strange occasional drag and drop bug. issue #1304

2007-10-28 Gary Burton <gary.burton@zen.co.uk>


svn: r9263
This commit is contained in:
Gary Burton 2007-10-28 21:54:39 +00:00
parent 47c63757bd
commit 0f22a6ef69
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditPlace.py: fixed name of street MonitoredEntry
* src/Editors/_EditLocation.py: fixed name of street MonitoredEntry
MonitoredEntry field for street wrongly named as city.
Caused strange occasional drag and drop bug. issue #1304
2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and
drop with an object that was deleted from a list. issue # 1326

View File

@ -59,7 +59,7 @@ class EditLocation(EditSecondary):
_('Location Editor'))
def _setup_fields(self):
self.city = MonitoredEntry(
self.street = MonitoredEntry(
self.top.get_widget("street"),
self.obj.set_street,
self.obj.get_street,

View File

@ -93,7 +93,7 @@ class EditPlace(EditPrimary):
self.obj.set_title, self.obj.get_title,
self.db.readonly)
self.city = MonitoredEntry(
self.street = MonitoredEntry(
self.top.get_widget("street"),
mloc.set_street, mloc.get_street, self.db.readonly)