mirror of
https://forgemia.inra.fr/theophile.terraz/acoused.git
synced 2026-10-30 03:10:40 +01:00
SQL: Fix save study after open.
This commit is contained in:
1 parent
57108455ce
commit
714be64915
3 files changed
+29
-18
No files matched your search
@@ -469,7 +469,8 @@ class SampleDataTab(QWidget):
|
||||
self.item_checkbox_fine.setCheckState(Qt.Checked)
|
||||
self.tableWidget_fine.setItem(i, 1, self.item_checkbox_fine)
|
||||
self.item_checkbox_fine.setText("F" + str(i + 1))
|
||||
stg.sample_fine.append(("F" + str(i + 1), i))
|
||||
if len(stg.sample_fine) <= i:
|
||||
stg.sample_fine.append(("F" + str(i + 1), i))
|
||||
|
||||
# --- Fill table with data ---
|
||||
for i in range(stg.frac_vol_fine.shape[0]):
|
||||
@@ -562,7 +563,8 @@ class SampleDataTab(QWidget):
|
||||
self.item_checkbox_sand.setCheckState(Qt.Checked)
|
||||
self.tableWidget_sand.setItem(i, 1, self.item_checkbox_sand)
|
||||
self.item_checkbox_sand.setText("S" + str(i + 1))
|
||||
stg.sample_sand.append(("S" + str(i + 1), i))
|
||||
if len(stg.sample_sand) <= i:
|
||||
stg.sample_sand.append(("S" + str(i + 1), i))
|
||||
|
||||
# --- Fill table with data ---
|
||||
for i in range(stg.frac_vol_sand.shape[0]):
|
||||
|
||||
Reference in new issue
Block a user