mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug
This commit is contained in:
1 parent
1b2f98494b
commit
7d42c164fc
2 files changed
+2
-1
No files matched your search
@@ -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]
|
||||
|
||||
|
||||
Reference in new issue
Block a user