From 0f22a6ef69537e4b65ec84ce40fd87905c97ca41 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sun, 28 Oct 2007 21:54:39 +0000 Subject: [PATCH] * 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 svn: r9263 --- ChangeLog | 6 ++++++ src/Editors/_EditLocation.py | 2 +- src/Editors/_EditPlace.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d0dc1e46b..fdb64686e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-28 Gary Burton + * 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 * src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and drop with an object that was deleted from a list. issue # 1326 diff --git a/src/Editors/_EditLocation.py b/src/Editors/_EditLocation.py index cce480ca8..9a4535058 100644 --- a/src/Editors/_EditLocation.py +++ b/src/Editors/_EditLocation.py @@ -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, diff --git a/src/Editors/_EditPlace.py b/src/Editors/_EditPlace.py index 483af25ba..d6580efcb 100644 --- a/src/Editors/_EditPlace.py +++ b/src/Editors/_EditPlace.py @@ -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)