Skip to content

Commit

Permalink
Merge pull request #770 from kartoza/fix-analysis
Browse files Browse the repository at this point in the history
Fix crash in load combo from model in analysis dialog.
  • Loading branch information
timlinux authored Jan 15, 2025
2 parents 3e906cc + afaf69b commit 03e69b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "Kartoza",
"email": "[email protected]",
"description": "Gender Enabling Environments Spatial Tool",
"version": "0.4.7",
"version": "0.4.8",
"changelog": "",
"server": false
}
Expand Down
4 changes: 2 additions & 2 deletions geest/gui/dialogs/analysis_aggregation_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,8 @@ def load_combo_from_model(
if layer:
combo.setLayer(layer)
if item.attribute(f"{prefix}_shapefile", False):
lineedit.setText(self.item.attribute[f"{prefix}_shapefile"])
lineedit.setText(self.item.attribute(f"{prefix}_shapefile"))
lineedit.setVisible(True)
if item.attribute(f"{prefix}_raster", False):
lineedit.setText(self.item.attribute[f"{prefix}_raster"])
lineedit.setText(self.item.attribute(f"{prefix}_raster"))
lineedit.setVisible(True)

0 comments on commit 03e69b0

Please sign in to comment.