diff --git a/src/Model/Geometry/Reach.py b/src/Model/Geometry/Reach.py index 8b61b88a982483f77fd08f9e8f56c2c18a8f6f48..691c823b171a7d0afaf120e3f191219d8225a63d 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 a256291d131e9130b89b32a25be5733f904bf655..cdad16716db922a0ad4f38407e3d3d955b5a80f8 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 8f5a0cbd8979d8425192f29e08821c94a2cbfef5..86f3d3ea9f020d9ada67ade2b54490ad7dbd9361 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)