5322: Fix error when dragging an alternative location onto the clipboard
svn: r18360
This commit is contained in:
parent
4997134564
commit
e27d9e04fe
@ -299,7 +299,7 @@ class ScratchLocation(ScratchObjWrapper):
|
|||||||
DRAG_TARGET = DdTargets.LOCATION
|
DRAG_TARGET = DdTargets.LOCATION
|
||||||
ICON = ICONS['location']
|
ICON = ICONS['location']
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, dbstate, obj):
|
||||||
super(ScratchLocation, self).__init__(dbstate, obj)
|
super(ScratchLocation, self).__init__(dbstate, obj)
|
||||||
self._type = _("Location")
|
self._type = _("Location")
|
||||||
self._value = "%s %s %s" % (self._obj.get_city(),
|
self._value = "%s %s %s" % (self._obj.get_city(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user