Geometry: Profile: Fix undo insert point.

scenarios
Pierre-Antoine 2025-09-04 17:06:18 +02:00
parent f4d3f2b28f
commit befe1a550d
1 changed files with 1 additions and 1 deletions

View File

@ -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()