mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
Acoustic data: Minor change.
This commit is contained in:
1 parent
55f03fdd83
commit
71c5c92d43
1 file changed
+5
-2
@@ -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])
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user