mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
undo command for reach selection in geometry
This commit is contained in:
1 parent
f35048b89f
commit
d6c1316178
5 files changed
+43
-9
No files matched your search
@@ -276,3 +276,12 @@ class GeometryReachTableModel(PamhyrTableModel):
|
||||
)
|
||||
)
|
||||
self.layoutChanged.emit()
|
||||
|
||||
def change_reach(self, new_reach, parent):
|
||||
|
||||
self._undo.push(
|
||||
ChangeReachCommand(
|
||||
new_reach,
|
||||
parent
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user