mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Geometry: Profile: Fix undo insert point.
This commit is contained in:
1 parent
f4d3f2b28f
commit
befe1a550d
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user