undo command for reach selection in geometry

This commit is contained in:
Theophile Terraz committed 2025-06-24 11:22:00 +02:00
1 parent f35048b89f
commit d6c1316178
5 files changed
+43 -9

No files matched your search

+9
View File
@@ -276,3 +276,12 @@ class GeometryReachTableModel(PamhyrTableModel):
)
)
self.layoutChanged.emit()
def change_reach(self, new_reach, parent):
self._undo.push(
ChangeReachCommand(
new_reach,
parent
)
)