BC, LC: Edit: Disable auto sort.

0.0.9 v0.0.8
Pierre-Antoine Rouby 2024-07-01 15:52:45 +02:00
parent 4deed897ff
commit c4554d38c1
3 changed files with 5 additions and 2 deletions

View File

@ -315,6 +315,9 @@ class BoundaryCondition(SQLSubModel):
self._data.sort(reverse=_reverse, key=key)
self._status.modified()
def index(self, bc):
self._data.index(bc)
def get_i(self, index):
return self.data[index]

View File

@ -198,5 +198,5 @@ class TableModel(PamhyrTableModel):
self.layoutAboutToBeChanged.emit()
def update(self):
self.auto_sort()
# self.auto_sort()
self.layoutChanged.emit()

View File

@ -198,5 +198,5 @@ class TableModel(PamhyrTableModel):
self.layoutAboutToBeChanged.emit()
def update(self):
self.auto_sort()
# self.auto_sort()
self.layoutChanged.emit()