Signal processing: Block signals during tab update.

dev-brahim
Pierre-Antoine 2025-03-19 13:43:37 +01:00
parent c521738567
commit 44bf348ee5
1 changed files with 3 additions and 0 deletions

View File

@ -511,6 +511,7 @@ class SignalProcessingTab(QWidget):
msgBox.exec()
else:
self.combobox_acoustic_data_choice.blockSignals(True)
self.combobox_acoustic_data_choice.clear()
self.combobox_acoustic_data_choice.addItems(stg.filename_BS_raw_data)
@ -535,6 +536,8 @@ class SignalProcessingTab(QWidget):
self.compute_average_profile_tail()
self.plot_averaged_profile_tail()
self.combobox_acoustic_data_choice.blockSignals(False)
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)")