From d2f90213c2f59ae34ff7390acb27bc60cc51385b Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sun, 28 Oct 2007 21:51:00 +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: r9262 --- 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 63e781dce..5741703b7 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 9816dc1a5..de52ca6a3 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 67c7b2ee3..4c976ae50 100644 --- a/src/Editors/_EditPlace.py +++ b/src/Editors/_EditPlace.py @@ -95,7 +95,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)