Skip to content

Commit f9a4664

Browse files
committed
remove yleismääräykset from new regulation group type selection
1 parent 261e550 commit f9a4664

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arho_feature_template/gui/dialogs/plan_regulation_group_form.py

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def __init__(self, regulation_group: RegulationGroup):
8585

8686
self.type_of_regulation_group.populate_from_code_layer(PlanRegulationGroupTypeLayer)
8787
self.type_of_regulation_group.removeItem(0) # Remove NULL from selections
88+
self.type_of_regulation_group.removeItem(0) # Remove Yleismääräykset from selections
8889

8990
self.add_proposition_btn.clicked.connect(self.add_new_proposition)
9091
self.add_proposition_btn.setIcon(QgsApplication.getThemeIcon("mActionAdd.svg"))

0 commit comments

Comments
 (0)