Fixed simulation advancing with play button

This commit is contained in:
2026-08-02 11:30:57 +02:00
parent 756a621ab1
commit e85c507d7f
2 changed files with 8 additions and 6 deletions

View File

@@ -47,8 +47,8 @@ class SimulationRunController(QObject):
def start(self) -> None:
if self._running or self.session is None:
return
start_time = self.session.current_end_time
stop_time = start_time + self.session.settings.duration
start_time = self.session.settings.start_time
stop_time = self.session.current_end_time + self.session.settings.duration
self._running = True
self._update_actions()
logger.info("Starting simulation from %s to %s", start_time, stop_time)