River: Add default reach at study creation.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-02-07 09:43:13 +01:00
1 parent 955af412ea
commit 28bea42b15
2 files changed
+8

No files matched your search

+2
View File
@@ -89,6 +89,8 @@ class NewStudyWindow(PamhyrDialog):
if self._study is None:
study = Study.new(name, description)
study.river.init_default()
if self.get_radio_button("radioButton_date"):
date = self.get_datetime_edit("dateTimeEdit_date")
study.use_date(date)