mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
correct error that made InitialCondition addition bug
This commit is contained in:
1 parent
c9ea726bfb
commit
cbbbeeac0b
1 file changed
+1
-1
@@ -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(
|
||||||
|
|||||||
Reference in new issue
Block a user