mirror of https://gitlab.com/pamhyr/pamhyr2
Enable pollutant: fix the list to browse to enable a pol
parent
c51c06e6ec
commit
48d6728e1e
|
|
@ -128,7 +128,7 @@ class TableModel(PamhyrTableModel):
|
|||
def enabled(self, row, enabled, parent=QModelIndex()):
|
||||
self._undo.push(
|
||||
SetEnabledCommand(
|
||||
self._data._Pollutants, row, enabled
|
||||
self._lst, row, enabled
|
||||
)
|
||||
)
|
||||
self.layoutChanged.emit()
|
||||
|
|
|
|||
Loading…
Reference in New Issue