fix CopyAnnotationsPlugin, obeys prefix now

This commit is contained in:
Martin Baeuml
2012-03-23 13:07:59 +01:00
parent 8a05a9ee94
commit f8fc599054
+1 -1
View File
@@ -66,7 +66,7 @@ class CopyAnnotationsPlugin(QObject):
for key in keys:
if not self._prefix + key in annotation:
return None
return [annotation[key] for key in keys]
return [annotation[self._prefix + key] for key in keys]
def overlap(self, r1, r2):
ia = float(self.area(self.intersect(r1, r2)))