add purge in profile and geometry

This commit is contained in:
Theophile Terraz committed 2024-05-07 17:42:43 +02:00
1 parent 5164891928
commit 5790bdfe82
12 files changed
+217 -28

No files matched your search

+9
View File
@@ -246,3 +246,12 @@ class GeometryReachTableModel(PamhyrTableModel):
self.layoutAboutToBeChanged.emit()
self.layoutChanged.emit()
def purge(self):
self._undo.push(
PurgeCommand(
self._data, 24
)
)
self.layoutChanged.emit()