Skip to content

Commit

Permalink
Centerline not appearing in 'Create Sample Frame from QRIS features' …
Browse files Browse the repository at this point in the history
…until closing and reopening project #444
  • Loading branch information
KellyMWhitehead authored and philipbaileynar committed Aug 30, 2024
1 parent 22d2e6a commit 9b357e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/frm_save_centerline.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def accept(self):
out_metadata = json.loads(metadata_json) if metadata_json is not None else None

self.profile = insert_profile(self.project.project_file, self.txtName.text(), Profile.ProfileTypes.CENTERLINE_PROFILE_TYPE, self.txtDescription.toPlainText(), out_metadata)
self.project.profiles[self.profile.id] = self.profile
out_layer = QgsVectorLayer(f'{self.project.project_file}|layername=profile_centerlines')
out_feature = QgsFeature()
out_feature.setFields(out_layer.fields())
Expand Down

0 comments on commit 9b357e1

Please sign in to comment.