Correction of reload button (if no acoustic data) #33
parent
b84f58ca2c
commit
3c78777179
|
|
@ -447,8 +447,8 @@ class SignalProcessingTab(QWidget):
|
|||
# --------------------------------------------------------------------------------------------------------------
|
||||
|
||||
self.pushbutton_update.clicked.connect(self.update_SignalPreprocessingTab)
|
||||
self.pushbutton_update.clicked.connect(self.compute_average_profile_tail)
|
||||
self.pushbutton_update.clicked.connect(self.plot_averaged_profile_tail)
|
||||
# self.pushbutton_update.clicked.connect(self.compute_average_profile_tail)
|
||||
# self.pushbutton_update.clicked.connect(self.plot_averaged_profile_tail)
|
||||
|
||||
self.combobox_acoustic_data_choice.currentIndexChanged.connect(self.combobox_acoustic_data_choice_change_index)
|
||||
|
||||
|
|
@ -501,6 +501,11 @@ class SignalProcessingTab(QWidget):
|
|||
- the user remove a file (in the list widget) in the first tab (Acoustic data), so that the combobox
|
||||
of data to be processed is updated,
|
||||
- the user change the limits of one or all the records in the first tab (Acoustic data) """
|
||||
if len(stg.filename_BS_raw_data) == 0:
|
||||
|
||||
pass
|
||||
|
||||
else:
|
||||
|
||||
self.combobox_acoustic_data_choice.clear()
|
||||
self.combobox_acoustic_data_choice.addItems(stg.filename_BS_raw_data)
|
||||
|
|
@ -522,6 +527,9 @@ class SignalProcessingTab(QWidget):
|
|||
|
||||
self.combobox_acoustic_data_choice.currentIndexChanged.connect(self.combobox_acoustic_data_choice_change_index)
|
||||
|
||||
self.compute_average_profile_tail()
|
||||
self.plot_averaged_profile_tail()
|
||||
|
||||
def activate_list_of_pre_processed_data(self):
|
||||
for i in range(self.combobox_acoustic_data_choice.count()):
|
||||
eval("self.lineEdit_list_pre_processed_data_" + str(i) + ".setDisabled(True)")
|
||||
|
|
|
|||
Loading…
Reference in New Issue