mirror of https://gitlab.com/pamhyr/pamhyr2
correct error that made InitialCondition addition bug
parent
c9ea726bfb
commit
cbbbeeac0b
|
|
@ -173,7 +173,7 @@ class InitialConditionTableModel(PamhyrTableModel):
|
||||||
def add(self, row, parent=QModelIndex()):
|
def add(self, row, parent=QModelIndex()):
|
||||||
self.beginInsertRows(parent, row, row - 1)
|
self.beginInsertRows(parent, row, row - 1)
|
||||||
|
|
||||||
row = self.get_true_data_row(row)
|
# row = self.get_true_data_row(row)
|
||||||
|
|
||||||
self._undo.push(
|
self._undo.push(
|
||||||
AddCommand(
|
AddCommand(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue