mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
prevent scenario window to open if study is not saved
This commit is contained in:
1 parent
81c6d39c1a
commit
f7e563e71a
3 files changed
+36
-1
No files matched your search
@@ -266,6 +266,16 @@ class MainTranslate(UnitTranslate):
|
||||
"incompatible study version"
|
||||
)
|
||||
|
||||
|
||||
self._dict["mb_unsaved_study_title"] = _translate(
|
||||
"MainWindow", "Open scenarios window"
|
||||
)
|
||||
self._dict["mb_unsaved_studyh_msg"] = _translate(
|
||||
"MainWindow",
|
||||
"You must save your study to open "
|
||||
"the scenario windows"
|
||||
)
|
||||
|
||||
self._dict["x"] = _translate("MainWindow", "X (m)")
|
||||
self._dict["y"] = _translate("MainWindow", "Y (m)")
|
||||
self._dict["Yes"] = _translate("MainWindow", "Yes")
|
||||
|
||||
Reference in new issue
Block a user