mirror of https://gitlab.com/pamhyr/pamhyr2
debug
parent
1b2f98494b
commit
7d42c164fc
|
|
@ -277,6 +277,7 @@ class SedimentLayer(SQLSubModel):
|
|||
"FROM sedimentary_layer "
|
||||
)
|
||||
|
||||
if table is not None:
|
||||
for row in table:
|
||||
sl = cls(
|
||||
id=row[0],
|
||||
|
|
|
|||
|
|
@ -494,7 +494,7 @@ class ResultsWindow(PamhyrWindow):
|
|||
table = self.find(QTableView, f"tableView_profile")
|
||||
indexes = table.selectedIndexes()
|
||||
if len(indexes) == 0:
|
||||
return 0
|
||||
return []
|
||||
|
||||
return [i.row() for i in indexes]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue