This commit is contained in:
Theophile Terraz committed 2024-11-05 13:29:12 +01:00
commit ff38571933
16 files changed
+566 -158

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ class TableModel(PamhyrTableModel):
z = self._lst[row].get_ts_key(self._timestamp, "Z")
v = self._lst[row].geometry.wet_width(z)
return f"{v:.4f}"
elif self._headers[column] == "max_depth":
elif self._headers[column] == "depth":
z = self._lst[row].get_ts_key(self._timestamp, "Z")
v = self._lst[row].geometry.max_water_depth(z)
return f"{v:.4f}"