mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Enable pollutant: fix the list to browse to enable a pol
This commit is contained in:
1 parent
c51c06e6ec
commit
48d6728e1e
1 file changed
+1
-1
@@ -128,7 +128,7 @@ class TableModel(PamhyrTableModel):
|
|||||||
def enabled(self, row, enabled, parent=QModelIndex()):
|
def enabled(self, row, enabled, parent=QModelIndex()):
|
||||||
self._undo.push(
|
self._undo.push(
|
||||||
SetEnabledCommand(
|
SetEnabledCommand(
|
||||||
self._data._Pollutants, row, enabled
|
self._lst, row, enabled
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
self.layoutChanged.emit()
|
self.layoutChanged.emit()
|
||||||
|
|||||||
Reference in new issue
Block a user