mirror of https://gitlab.com/pamhyr/pamhyr2
Geometry: Profile: Fix undo insert point.
parent
f4d3f2b28f
commit
befe1a550d
|
|
@ -127,7 +127,7 @@ class DelCommand(QUndoCommand):
|
|||
self._points.append(self._profile.point(row))
|
||||
|
||||
def undo(self):
|
||||
for row, point in self._points:
|
||||
for row, point in zip(self._rows, self._points):
|
||||
self._profile.insert_point(row, point)
|
||||
self._profile.modified()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue