Crash corrected if any calibration file is selected (Click Cancel)

This commit is contained in:
brahim committed 2025-03-13 11:38:21 +01:00
1 parent 761dc9008c
commit 2715d225af
1 file changed
+4
+4
View File
@@ -1771,6 +1771,10 @@ class SedimentCalibrationTab(QWidget):
msgBox.setStandardButtons(QMessageBox.Ok) msgBox.setStandardButtons(QMessageBox.Ok)
msgBox.exec() msgBox.exec()
elif stg.filename_calibration_file == "":
pass
else: else:
# --- Read calibration file --- # --- Read calibration file ---