We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8948619 commit 4ab7b9eCopy full SHA for 4ab7b9e
arho_feature_template/core/plan_manager.py
@@ -246,8 +246,7 @@ def edit_lifecycles(self):
246
if not plan_layer:
247
return
248
249
- active_plan_id = QgsExpressionContextUtils.projectScope(QgsProject.instance()).variable("active_plan_id")
250
- feature = PlanLayer.get_feature_by_id(active_plan_id, no_geometries=False)
+ feature = PlanLayer.get_feature_by_id(get_active_plan_id(), no_geometries=False)
251
if feature is None:
252
253
plan_model = PlanLayer.model_from_feature(feature)
0 commit comments