mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
Sample data: Fix plot without data.
This commit is contained in:
1 parent
0dd38af7a9
commit
a570ca3522
1 file changed
+3
@@ -776,6 +776,9 @@ class SampleDataTab(QWidget):
|
|||||||
self.combobox_acoustic_data.showPopup()
|
self.combobox_acoustic_data.showPopup()
|
||||||
|
|
||||||
def fill_comboboxes_and_plot_transect(self):
|
def fill_comboboxes_and_plot_transect(self):
|
||||||
|
if len(stg.acoustic_data) == 0:
|
||||||
|
return
|
||||||
|
|
||||||
self.combobox_acoustic_data.clear()
|
self.combobox_acoustic_data.clear()
|
||||||
for n, m in enumerate(stg.noise_method):
|
for n, m in enumerate(stg.noise_method):
|
||||||
if stg.noise_method[n] == 0:
|
if stg.noise_method[n] == 0:
|
||||||
|
|||||||
Reference in new issue
Block a user