diff --git a/src/View/Geometry/Table.py b/src/View/Geometry/Table.py index fd91707a..0add2b2d 100644 --- a/src/View/Geometry/Table.py +++ b/src/View/Geometry/Table.py @@ -169,7 +169,8 @@ class GeometryReachTableModel(PamhyrTableModel): self.layoutChanged.emit() def move_down(self, row, parent=QModelIndex()): - if row > self._data.number_profiles: + print(row) + if row >= self._data.number_profiles-1: return target = row