Fix the start point of the polygon

This commit is contained in:
Mike Gerber
2014-04-10 21:37:51 +02:00
parent e0fa0534d5
commit 2579c4f7b0
+4 -4
View File
@@ -338,10 +338,10 @@ class PolygonItemInserter(ItemInserter):
self._current_image_item = image_item
self._scene.setMessage("Press Enter to finish the polygon.")
else:
polygon = self._item.polygon()
polygon.append(pos)
self._item.setPolygon(polygon)
polygon = self._item.polygon()
polygon.append(pos)
self._item.setPolygon(polygon)
event.accept()