From 2715d225afc15e36936838af1c137162f1bff6a1 Mon Sep 17 00:00:00 2001 From: brahim Date: Thu, 13 Mar 2025 11:38:21 +0100 Subject: [PATCH] Crash corrected if any calibration file is selected (Click Cancel) --- View/sediment_calibration_tab.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/View/sediment_calibration_tab.py b/View/sediment_calibration_tab.py index f6bea34..b8dcb07 100644 --- a/View/sediment_calibration_tab.py +++ b/View/sediment_calibration_tab.py @@ -1771,6 +1771,10 @@ class SedimentCalibrationTab(QWidget): msgBox.setStandardButtons(QMessageBox.Ok) msgBox.exec() + elif stg.filename_calibration_file == "": + + pass + else: # --- Read calibration file ---