Time/date format: back to relative timestamps storage

This commit is contained in:
Dylan Jeannin committed 2026-09-15 11:33:04 +02:00
1 parent 5ce5478bf4
commit 9879094661
15 files changed
+93 -37

No files matched your search

@@ -18,6 +18,8 @@
import logging
from Modules import Modules
from tools import timer, trace
from View.Tools.PamhyrWindow import PamhyrWindow
@@ -129,7 +131,7 @@ class EditBoundaryConditionWindow(PamhyrWindow):
data=self._data,
undo=self._undo_stack,
opt_data=self._study.time_system,
start_date=self._study.date
study=self._study
)
table.setModel(self._table)
@@ -162,6 +164,11 @@ class EditBoundaryConditionWindow(PamhyrWindow):
self.find(QAction, "action_sort").triggered.connect(self.sort)
self._table.dataChanged.connect(self.update)
def _propagated_update(self, key=Modules(0)):
if Modules.STUDY in key:
self._table.layoutChanged.emit()
self.plot.update()
def update(self):
self.plot.update()
self.plot.fit_to_data()