Commit c4554d38 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

BC, LC: Edit: Disable auto sort.

No related merge requests found
Pipeline #56300 passed with stages
in 6 minutes and 59 seconds
Showing with 5 additions and 2 deletions
+5 -2
...@@ -315,6 +315,9 @@ class BoundaryCondition(SQLSubModel): ...@@ -315,6 +315,9 @@ class BoundaryCondition(SQLSubModel):
self._data.sort(reverse=_reverse, key=key) self._data.sort(reverse=_reverse, key=key)
self._status.modified() self._status.modified()
def index(self, bc):
self._data.index(bc)
def get_i(self, index): def get_i(self, index):
return self.data[index] return self.data[index]
......
...@@ -198,5 +198,5 @@ class TableModel(PamhyrTableModel): ...@@ -198,5 +198,5 @@ class TableModel(PamhyrTableModel):
self.layoutAboutToBeChanged.emit() self.layoutAboutToBeChanged.emit()
def update(self): def update(self):
self.auto_sort() # self.auto_sort()
self.layoutChanged.emit() self.layoutChanged.emit()
...@@ -198,5 +198,5 @@ class TableModel(PamhyrTableModel): ...@@ -198,5 +198,5 @@ class TableModel(PamhyrTableModel):
self.layoutAboutToBeChanged.emit() self.layoutAboutToBeChanged.emit()
def update(self): def update(self):
self.auto_sort() # self.auto_sort()
self.layoutChanged.emit() self.layoutChanged.emit()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment