Skip to content

Commit

Permalink
Promote watershed delineation to AOI 1.0.8 #554
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMWhitehead committed Jan 7, 2025
1 parent eda59bc commit 218de41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/frm_mask_aoi.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def accept(self):
mask_layer_name = "sample_frame_features"
mask_path = f'{self.qris_project.project_file}|layername={mask_layer_name}'
layer_attributes = {'sample_frame_id': self.aoi.id}
field_map = [ImportFieldMap(self.cboAttribute.currentData(QtCore.Qt.UserRole).name, 'display_label', direct_copy=True)] if self.cboAttribute.isVisible() else None
field_map = [ImportFieldMap(self.cboAttribute.currentData(QtCore.Qt.UserRole).name, 'display_label', direct_copy=True)] if self.cboAttribute.currentData(QtCore.Qt.UserRole) is not None else None
clip_mask = None
clip_item = self.cboMaskClip.currentData(QtCore.Qt.UserRole)
if clip_item is not None:
Expand Down

0 comments on commit 218de41

Please sign in to comment.