File tree Expand file tree Collapse file tree
geos-pv/src/geos/pv/plugins/generic_processing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,17 +155,17 @@ def groupRegionAttributeSettingsWidgets( self: Self ) -> None:
155155 self .Modified ()
156156
157157 # Settings of the new attribute:
158- @smproperty .xml ( """
159- <StringVectorProperty
160- name="AttributeName"
161- label="The name of the new attribute:"
162- default_values="newAttribute"
163- number_of_elements="1"
164- element_types="2">
165- <Documentation>
166- Name of the new attribute to create.
167- </Documentation>
168- </StringVectorProperty >
158+ @smproperty .stringvector (
159+ name = "AttributeName" ,
160+ label = "The name of the new attribute:" ,
161+ number_of_elements = "1" ,
162+ default_values = "newAttribute" ,
163+ panel_visibility = "default" ,
164+ )
165+ @ smdomain . xml ( """
166+ <Documentation>
167+ Name of the new attribute to create.
168+ </Documentation >
169169 """ )
170170 def setAttributeName ( self : Self , newAttributeName : str ) -> None :
171171 """Set attribute name.
You can’t perform that action at this time.
0 commit comments