diff --git a/View/sediment_calibration_tab.py b/View/sediment_calibration_tab.py index add79f0..19bf440 100644 --- a/View/sediment_calibration_tab.py +++ b/View/sediment_calibration_tab.py @@ -1569,6 +1569,10 @@ class SedimentCalibrationTab(QWidget): self._data_validity_message_box() return + if len(stg.fine_sample_profile) == 0: + self._data_validity_message_box() + return + data_choice = self.combobox_acoustic_data_choice\ .currentIndex() @@ -1659,8 +1663,8 @@ class SedimentCalibrationTab(QWidget): .scaledToHeight(32, Qt.SmoothTransformation) ) msgBox.setText( - "Please select and valid the sample data with" - + "click on 'sample plot' button" + "Please select and valid the find and sand" + + "sample data with click on 'sample plot' button" ) msgBox.setStandardButtons(QMessageBox.Ok) msgBox.exec()