erase old and useless methods

disable_edition_parent_scenario
Dylan Jeannin 2026-05-04 14:51:34 +02:00
parent e615a6b9d4
commit c014f0ef34
1 changed files with 0 additions and 14 deletions

View File

@ -236,17 +236,3 @@ class TableModel(PamhyrTableModel):
self._undo.redo()
self._setup_lst()
self.layoutChanged.emit()
def get(self, row):
if row < 0 or row >= len(self._lst):
return None
return self._lst[row]
def _global_row(self, row):
bc = self.get(row)
if bc is None:
return None
return next(
index for index, lcs in enumerate(self._lcs_list._lst)
if lcs is bc
)