diff --git a/src/View/MainWindow.py b/src/View/MainWindow.py index 1eb655b49ef78039f5df7a09d3049b20062420c4..946eb54eedbdb94b90d98c6440162cef0ad0d861 100644 --- a/src/View/MainWindow.py +++ b/src/View/MainWindow.py @@ -141,10 +141,6 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit): # Translate self._trad = MainTranslate() - # Results - self._last_solver = None - self._last_results = None - # UI self.ui = loadUi( os.path.join(os.path.dirname(__file__), "ui", "MainWindow.ui"), diff --git a/src/View/Results/Table.py b/src/View/Results/Table.py index bce39882c98c5fd4b9b533bc6b9e2f7819417ad2..7ce91f38a37d962cad2f2642fa143e6b1676ce69 100644 --- a/src/View/Results/Table.py +++ b/src/View/Results/Table.py @@ -88,7 +88,7 @@ class TableModel(PamhyrTableModel): return f"{v:.4f}" elif self._headers[column] == "speed": q = self._lst[row].get_ts_key(self._timestamp, "Q") - z = self._lst[row].get_ts_key(self._timestamp, "Q") + z = self._lst[row].get_ts_key(self._timestamp, "Z") v = self._lst[row].geometry.speed(q, z) return f"{v:.4f}"