5322: Fix error when dragging an alternative location onto the clipboard
svn: r18359
This commit is contained in:
1 parent
12cee2f5c7
commit
cc17c3016d
1 file changed
+1
-1
+1
-1
@@ -299,7 +299,7 @@ class ScratchLocation(ScratchObjWrapper):
|
||||
DRAG_TARGET = DdTargets.LOCATION
|
||||
ICON = ICONS['location']
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self, dbstate, obj):
|
||||
super(ScratchLocation, self).__init__(dbstate, obj)
|
||||
self._type = _("Location")
|
||||
self._value = "%s %s %s" % (self._obj.get_city(),
|
||||
|
||||
Reference in new issue
Block a user