Acoustic data: Minor change.
parent
55f03fdd83
commit
71c5c92d43
|
|
@ -820,7 +820,7 @@ class AcousticDataTab(QWidget):
|
|||
# self.fileListWidget.itemSelectionChanged.connect(self.plot_profile)
|
||||
self.update_plot_backscattered_acoustic_signal_recording()
|
||||
self.update_plot_profile()
|
||||
self.set_range_for_spinboxes_bathymetry()
|
||||
self.update_bottom_detection_settings()
|
||||
|
||||
self.fileListWidget.blockSignals(False)
|
||||
|
||||
|
|
@ -2828,10 +2828,13 @@ class AcousticDataTab(QWidget):
|
|||
self.lineEdit_slider.setText(
|
||||
str(stg.time[self.fileListWidget.currentRow()][self.combobox_frequency_profile.currentIndex(), self.slider.value()-1]))
|
||||
|
||||
@trace
|
||||
def update_bottom_detection_settings(self):
|
||||
data_id = max(0, self.fileListWidget.currentRow())
|
||||
|
||||
if stg.depth_bottom_detection_interval[data_id] == 0.0:
|
||||
self.set_range_for_spinboxes_bathymetry()
|
||||
return
|
||||
|
||||
self.combobox_frequency_bathymetry.setCurrentIndex(
|
||||
int(stg.freq_bottom_detection[data_id][0])
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue