mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
the delete button is corrected
This commit is contained in:
1 parent
fe9ac2d65c
commit
2d6c950dfe
1 file changed
+2
-2
@@ -1374,7 +1374,7 @@ class AcousticDataTab(QWidget):
|
||||
"stg.BS_raw_data_reshape", "stg.time_reshape", "stg.depth_reshape"]
|
||||
|
||||
for p in list_to_pop1:
|
||||
if isinstance(p, list):
|
||||
if isinstance(eval(p), list):
|
||||
exec(p + ".pop(current_row)")
|
||||
|
||||
if stg.BS_cross_section:
|
||||
@@ -1477,7 +1477,7 @@ class AcousticDataTab(QWidget):
|
||||
]
|
||||
|
||||
for k in list_to_clear:
|
||||
if isinstance(k, list):
|
||||
if isinstance(eval(k), list):
|
||||
exec(k + ".clear()")
|
||||
|
||||
self.fileListWidget.clear()
|
||||
|
||||
Reference in new issue
Block a user