diff --git a/src/Model/Geometry/Reach.py b/src/Model/Geometry/Reach.py index 8b61b88a..691c823b 100644 --- a/src/Model/Geometry/Reach.py +++ b/src/Model/Geometry/Reach.py @@ -519,7 +519,6 @@ class Reach(SQLSubModel): self._update_profile_numbers() return imported_profiles - @timer def read_file_st(self, filename): """Read the ST file diff --git a/src/View/Geometry/Table.py b/src/View/Geometry/Table.py index a256291d..cdad1671 100644 --- a/src/View/Geometry/Table.py +++ b/src/View/Geometry/Table.py @@ -198,7 +198,6 @@ class GeometryReachTableModel(PamhyrTableModel): self.layoutAboutToBeChanged.emit() self.layoutChanged.emit() - def duplicate(self, rows, profiles): self.layoutAboutToBeChanged.emit() diff --git a/src/View/Geometry/UndoCommand.py b/src/View/Geometry/UndoCommand.py index 8f5a0cbd..86f3d3ea 100644 --- a/src/View/Geometry/UndoCommand.py +++ b/src/View/Geometry/UndoCommand.py @@ -194,6 +194,7 @@ class DuplicateCommand(QUndoCommand): for profile in self._profiles: self._reach.insert_profile(self._rows[0], profile) + class ImportCommand(QUndoCommand): def __init__(self, reach, row, filename): QUndoCommand.__init__(self)