add purge dialog

This commit is contained in:
Theophile Terraz committed 2024-05-21 17:01:54 +02:00
1 parent 61fd54c496
commit 14b5b5e3df
7 files changed
+182 -7

No files matched your search

+2 -2
View File
@@ -259,11 +259,11 @@ class GeometryReachTableModel(PamhyrTableModel):
self.layoutAboutToBeChanged.emit()
self.layoutChanged.emit()
def purge(self):
def purge(self, np_purge):
self._undo.push(
PurgeCommand(
self._data, 24
self._data, np_purge
)
)
self.layoutChanged.emit()