Commit d19506f1 authored by Theophile Terraz's avatar Theophile Terraz
Browse files

debug table default timestep

Showing with 2 additions and 1 deletion
+2 -1
......@@ -108,9 +108,9 @@ class ResultsWindow(PamhyrWindow):
try:
self._timestamps = sorted(list(self._results.get("timestamps")))
self.setup_slider()
self.setup_table()
self.setup_plots()
self.setup_slider()
self.setup_statusbar()
self.setup_connections()
except Exception as e:
......@@ -128,6 +128,7 @@ class ResultsWindow(PamhyrWindow):
undo=self._undo_stack,
opt_data=t
)
self._table[t]._timestamp = self._timestamps[self._slider_time.value()]
def setup_slider(self):
self._slider_profile = self.find(QSlider, f"verticalSlider_profile")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment